Accepting request 78242 from home:cboltz:branches:openSUSE:Tools

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.

OBS-URL: https://build.opensuse.org/request/show/78242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=144
This commit is contained in:
Adrian Schröter 2011-08-09 12:52:32 +00:00 committed by Git OBS Bridge
parent 8501617d9f
commit 1b606daccf
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+