Re: build requires query?

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

 



Hello Todd,

A possible solution: If you have the src.rpm you can extract the spec file and search for BuildRequires within it:

rpm2cpio {FullNameOfRPM} | cpio --to-stdout -iu {NameOfRPM.spec} | grep 'BuildRequires'

Regards,
Radu

On 02/25/2010 02:27 AM, Todd Rinaldo wrote:
If I want to know what pre-requisites a src.rpm has, I can do

rpm -qpR file.src.rpm

This seems to tell me the Requires values. How can I get the BuildRequires values?

Thanks,
Todd
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux