[Rpm-maint] [PATCH] rpmbuild: fix display requires found

Panu Matilainen pmatilai at redhat.com
Fri Jan 25 06:36:06 UTC 2008


On Wed, 23 Jan 2008, Pixel wrote:

> fixes http://qa.mandriva.com/show_bug.cgi?id=36672
> 
> $ rpm -ba something
> [...]
> Provides: firefo-devel testi5 jefae
> Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> Requires(pre): /bin/sh
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires(postun): /bin/sh
> Obsoletes: testi5
> [...]
> 
> RPM prints provides, obsoletes and requires(*), but not plain requires. The jbj
> rpm did print requires as well, and it is preferable imo.

Sure - applied, thanks for the patch. This puzzled me for a while as I 
didn't see the behavior with Fedora rpm 4.4.2.2 and yet there's no similar 
patch in Fedora.. turns out there's a dangling patch to bring back 
RPMSENSE_PREREQ which caused the requires to get printed as expected :)

 	- Panu -



More information about the Rpm-maint mailing list