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

Re: Getting dependencies from spec files



Scot Mc Pherson wrote:
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

Um, that shows macros defined by rpm, but _not_ those for the given package. (Unless that changed after 4.1?) I don't see anything in that output specific to the given spec file.


Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------




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