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

Re: Getting dependencies from spec files



On Tuesday 18 November 2003 12:26 pm, Eli Carter wrote:
> All,
>
> Is there a way to get rpmbuild to display the BuildPreReqs given a spec
> file, but without initiating a build?
> And then, what about PreReqs and Requires?
>

rpmbuild -bb specfile.spec --showrc 
rpmbuild -bb specfile.spec --showrc | grep whateveryouwanttosee


-- 
Scot Mc Pherson
Linux From Scratch
http://www.linuxfromscratch.org/~scot/




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