From 75220114eb9cead135ca546aa30296bd9a44abe8 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 5 Jul 2007 14:34:42 -0400 Subject: [PATCH] conflict instead of requires --- redhat-rpm-config.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 074fa8d..2bcc109 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -7,8 +7,9 @@ Group: Development/System Source: redhat-rpm-config-%{version}.tar.bz2 BuildArch: noarch Requires: mktemp -# We need newer rpm-build for post-build buildroot checking -Requires: rpm-build >= 4.4.2.1-0.4.rc2 +# if rpm-build is present (thus building rpms), we need newer for +# check buildroot +Conflicts: rpm-build < 4.4.2.1-0.4.rc2 BuildRoot: %{_tmppath}/%{name}-root # rpmrc passes -mtune which first appeared in gcc 3.4 %ifarch i386 i686 sparc