conflict instead of requires

This commit is contained in:
Jeremy Katz 2007-07-05 14:34:42 -04:00
parent e284fd4907
commit 75220114eb
1 changed files with 3 additions and 2 deletions

View File

@ -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