-   Linux - Software (
-   -   Rpm-build (

abhijeetudas 12-05-2005 05:32 AM


Im trying to make a customised rpm ,
which install's at a different location.

One thing i did not get is where are the variables
mentioned in the .spec file set?
%{_sysconfdir} which is /etc
%{_libdir} etc.

Can any one help me with that?

sailu_mvn 12-05-2005 10:04 PM

what ever ur looking for are macros.
Please google for RPM how to?
That will surely help u.
What kind of a RPM are u customizing?

sailajabhandaru 12-05-2005 10:10 PM

RPM -Build
Which os are u using?
All the macros used in the system are mentioned
in /usr/lib/rpm/macros file.

The macros are defined in various sections
of spec file......
In install section,to determine where the files
should be dropped when rpm is installed.
In File section,what files shold be included in rpm.
Like /usr/bin/ is mentioned by %_bindir
/usr/sbin/ is mentioned by %_sbindir

abhijeetudas 12-06-2005 01:06 AM

Hey thanks a ton..

I think that is what i was looking for.

All times are GMT -5. The time now is 10:04 PM.