differ yum requirement on openSUSE and Fedora release-20160315 release-20160411 release-test-20150810
authorGui Chen <gui.chen@intel.com>
Mon, 13 Oct 2014 03:50:33 +0000 (03:50 +0000)
committerGui Chen <gui.chen@intel.com>
Mon, 13 Oct 2014 03:50:33 +0000 (03:50 +0000)
Signed-off-by: Gui Chen <gui.chen@intel.com>
packaging/createrepo.spec

index 7ea82ab10a7e8068ea8da80625def1149c5af39a..cfc163b2d7494c1b3cc22b0d168973c2282bd577 100644 (file)
@@ -32,7 +32,11 @@ Source1:        createrepo-rpmlintrc
 Url:            http://linux.duke.edu/metadata/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #BuildArch:      noarch
+%if 0%{?suse_version}
 Requires:       yum-common >= 3.2.23
+%else
+Requires:       yum >= 3.2.23
+%endif
 Requires:       rpm >= 4.1.1
 Requires:       rpm-python
 Requires:       libxml2-python