From e3e35c51732e7fae3ad155853a2076b129979b38 Mon Sep 17 00:00:00 2001 From: OBS User adrianSuSE Date: Tue, 9 Aug 2011 12:52:32 +0000 Subject: [PATCH] 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 --- build.changes | 6 ++++++ build.spec | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/build.changes b/build.changes index d61ba07e..0d727099 100644 --- a/build.changes +++ b/build.changes @@ -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 diff --git a/build.spec b/build.spec index 2481ee7b..aa00fbc0 100644 --- a/build.spec +++ b/build.spec @@ -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+