[CentOS] How get a spec preprocesed with all macros expanded.

2012-03-27 Thread Marcos Lois Bermúdez
Hi, I need to get a spec file with all macro exanded, so i can extract info of some tags, that my be consitional based on macros, i know that some rpm utils need to make this to figure out dependencies and so on. I don't know if is posible to get a preprocesed spec file with actual Centos & rp

Re: [CentOS] Squid and SELinux

2011-02-02 Thread Marcos Lois Bermúdez
s for your fast reply. Regards. El 01/02/11 21:30, Daniel J Walsh escribió: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/31/2011 08:29 PM, Tsuyoshi Nagata wrote: >> Hi Mrcos >> (2011/02/01 0:31), Marcos Lois Bermúdez wrote: >>> semanage fcontext -a -t

Re: [CentOS] Squid and SELinux

2011-02-01 Thread Marcos Lois Bermúdez
/02/01 0:31), Marcos Lois Bermúdez wrote: >> semanage fcontext -a -t squid_cache_t '/home/squid(/.*)?' >> >> i check the files and are in the good context: >> >> drwxr-xr-x squid squid user_u:object_r:squid_cache_t. > **> drwxr-xr-x squid squid sy

[CentOS] Building RPMs for CentOS

2011-01-31 Thread Marcos Lois Bermúdez
Hi. Some times i need to build packages for CentOS, the major requeriment is build some missing module or package newer version required to run some sotware. I setup a mock build enviroment to compile packages, all is working as expected, but i enconter problem to share this work in a source

[CentOS] Squid and SELinux

2011-01-31 Thread Marcos Lois Bermúdez
Hi. I'm trying to setup squid with SELinux, the problem i encounter is taht i want to add another directory for cache, in this system we have a home partition with huge space, i create a squid dir and add the path with semanage: semanage fcontext -a -t squid_cache_t '/home/squid(/.*)?' i ch