Re: SRPM's and determining spec file

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

 



On Wed, 06 Oct 2004 06:04:19 +1000, Alan Milligan wrote:

> Not sure if this is the right place to discuss the behaviour of RPM, but
> I'm sure somebody can correct me!
> 
> I have a requirement to determine the spec file from a SRPM so that my
> rpmbuild can be guaranteed to be passed a valid file.
> 
> I'd hoped to just find in the BASENAMES, however, it seems to be
> filtered out when using rpm -q.

rpm -qpl package.src.rpm | grep \.spec

Or maybe I don't understand your problem. ;)

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.8-1.521
loadavg: 1.02 1.08 1.03


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux