The following screendump should say it all:

----------------------------------------------------------------------
# rpm -qi build
[...]
Description :
This package provides a script for building RPMs for SUSE Linux in a
chroot environment.


Requires:       build-mkbaselibs
Recommends:     build-mkdrpms
Distribution: openSUSE:Tools / openSUSE_11.4
----------------------------------------------------------------------

Needless to say that rpm -q --requires / --recommends does not list 
build-mkbaselibs and build-mkdrpms.

This SR fixes this bug.

Note: the Recommends is only enabled on distributions that support it.

Rev openSUSE:Tools/144 Md5 274b4cf7540da05ba844cba63bcea0a8 2011-08-09 12:52:32 adrianSuSE 78242
This commit is contained in:
OBS User adrianSuSE 2011-08-09 12:52:32 +00:00 committed by Git OBS Bridge
parent 2a665968dc
commit e3e35c5173
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Aug 7 19:58:28 UTC 2011 - opensuse@cboltz.de
- Requires:/Recommends: were part of the package description.
Moved them to the correct place.
-------------------------------------------------------------------
Fri Jul 1 07:26:34 UTC 2011 - adrian@suse.de

View File

@ -50,14 +50,20 @@ Recommends: perl(XML::Parser)
Recommends: bsdtar
%endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
Requires: build-mkbaselibs
%endif
%if 0%{?suse_version} > 1120 || 0%{?mdkversion}
Recommends: build-mkdrpms
%endif
%description
This package provides a script for building RPMs for SUSE Linux in a
chroot environment.
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
Requires: build-mkbaselibs
Recommends: build-mkdrpms
%package mkbaselibs
License: GPLv2+