petersen pushed to cabal-rpm (epel7). "dnf for f22+ otherwise require yum-utils"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 3 06:31:35 UTC 2015


>From 15705cf5174fb52b003245f79a28673fb1f35ca1 Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen at redhat.com>
Date: Tue, 24 Feb 2015 16:23:21 +0900
Subject: dnf for f22+ otherwise require yum-utils


diff --git a/cabal-rpm.spec b/cabal-rpm.spec
index e3fd7fa..d88201e 100644
--- a/cabal-rpm.spec
+++ b/cabal-rpm.spec
@@ -25,7 +25,11 @@ Provides:       cblrpm = %{version}-%{release}
 Requires:       cabal-install
 Requires:       rpm-build
 # for repoquery
+%if 0%{?fedora} >= 22
 Requires:       dnf-plugins-core
+%else
+Requires:       yum-utils
+%endif
 # for rpmdev-bumpspec
 Requires:       rpmdevtools
 
@@ -72,7 +76,7 @@ ln -s cblrpm %{buildroot}%{_bindir}/%{name}
 
 %changelog
 * Tue Feb 24 2015 Jens Petersen <petersen at redhat.com> - 0.9.4-2
-- require dnf-plugins-core instead of yum-utils
+- require dnf-plugins-core instead of yum-utils for F22+
 
 * Tue Feb 17 2015 Jens Petersen <petersen at fedoraproject.org> - 0.9.4-1
 - use dnf if installed instead of yum for install and repoquery (#1156553)
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/cabal-rpm.git/commit/?h=epel7&id=15705cf5174fb52b003245f79a28673fb1f35ca1


More information about the scm-commits mailing list