[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SRPM's and determining spec file



>"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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]