From b4d89cdf3a929dc574956cf6b22c0301a93aa703 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Feb 07 2019 12:34:40 +0000 Subject: Do not require libmodulemd in epel7 Signed-off-by: Ondrej Nosek --- diff --git a/rpkg.spec b/rpkg.spec index fcf9525..6fae5a8 100644 --- a/rpkg.spec +++ b/rpkg.spec @@ -4,7 +4,7 @@ Name: rpkg Version: 1.57 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python library for interacting with rpm+git License: GPLv2+ and LGPLv2 @@ -69,11 +69,6 @@ BuildRequires: python2-openidc-client BuildRequires: libmodulemd %endif -%if 0%{?rhel} && 0%{?rhel} == 7 -BuildRequires: python-gobject-base -BuildRequires: libmodulemd -%endif - %if 0%{?rhel} && 0%{?rhel} < 7 BuildRequires: python-argparse BuildRequires: python-mock @@ -114,11 +109,6 @@ Requires: libmodulemd Requires: python-argparse %endif -%if 0%{?rhel} && 0%{?rhel} == 7 -Requires: python-gobject-base -Requires: libmodulemd -%endif - Requires: %{name}-common = %{version}-%{release} Conflicts: fedpkg < 1.26 @@ -268,6 +258,10 @@ nosetests tests %changelog +* Thu Feb 07 2019 Ondřej Nosek - 1.57-6 +- Revert previous change. + Now python-gobject-base & libmodulemd are removed from epel7 and RHEL7 + * Tue Feb 05 2019 Ondřej Nosek - 1.57-5 - python-gobject-base & libmodulemd also for epel7 and RHEL7