mizdebsk pushed to koschei (epel7). "Fix DNF requires on EPEL"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon May 4 09:07:35 UTC 2015
>From a988b6edcb608d0720cde4e3070ee7aaaadd3b4c Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon, 4 May 2015 11:02:26 +0200
Subject: Fix DNF requires on EPEL
diff --git a/koschei.spec b/koschei.spec
index aa77b79..1f992fc 100644
--- a/koschei.spec
+++ b/koschei.spec
@@ -21,7 +21,7 @@ BuildRequires: koji
BuildRequires: python-hawkey
BuildRequires: python-librepo
BuildRequires: rpm-python
-%if %{?fedora} < 22
+%if 0%{?fedora} < 22 && !0%{?rhel}
BuildRequires: dnf
%else
BuildRequires: python-dnf
@@ -29,7 +29,7 @@ BuildRequires: python-dnf
BuildRequires: fedmsg
%endif
-%if %{?fedora} < 22
+%if 0%{?fedora} < 22 && !0%{?rhel}
Requires: dnf
%else
Requires: python-dnf
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/koschei.git/commit/?h=epel7&id=a988b6edcb608d0720cde4e3070ee7aaaadd3b4c
More information about the scm-commits
mailing list