SRPM's and determining spec file

Steve G linux_4ever at yahoo.com
Thu Oct 7 17:15:08 UTC 2004


>"rpm -i" on a source rpm will place the real specfile in %_specdir
>(/some/where/SPECS), and all sources in %_sourcedir
>(/some/where/SOURCES).

Not really. This is configurable. Create a .rpmmacros file in the build acct's
home directory. Add these:

%_sourcedir     %{_topdir}/%{name}                                               
                               
%_specdir       %{_sourcedir}

This way all source and spec files wind up in a sane place after rpm -i. This
makes the find command work much better. ;)

-Steve Grubb


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




More information about the devel mailing list