From 4a48299d286b054c33fbffa22f733234018d0421 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Sep 12 2017 19:23:57 +0000 Subject: Conditionalize dogpile.cache dep name for el7. --- diff --git a/module-build-service.spec b/module-build-service.spec index 7a8324e..b46c80e 100644 --- a/module-build-service.spec +++ b/module-build-service.spec @@ -32,7 +32,6 @@ BuildRequires: kobo-rpmlib BuildRequires: m2crypto BuildRequires: mock BuildRequires: python2-pdc-client -BuildRequires: python2-dogpile-cache BuildRequires: python-fedora BuildRequires: python-flask-script BuildRequires: python-httplib2 @@ -59,6 +58,7 @@ BuildRequires: python-sqlalchemy BuildRequires: python-futures BuildRequires: python-flask BuildRequires: systemd-python +BuildRequires: python-dogpile-cache %else BuildRequires: python2-setuptools BuildRequires: python2-flask-sqlalchemy @@ -70,6 +70,7 @@ BuildRequires: python2-six BuildRequires: python2-futures BuildRequires: python2-flask BuildRequires: python2-systemd +BuildRequires: python2-dogpile-cache %if 0%{?fedora} && 0%{?fedora} <= 25 BuildRequires: pyOpenSSL @@ -105,7 +106,6 @@ Requires: rpm-build Requires: python-qpid Requires: python-openidc-client Requires: python-urlgrabber -Requires: python2-dogpile-cache Requires: python2-koji @@ -122,6 +122,7 @@ Requires: python-sqlalchemy Requires: python-futures Requires: python-flask Requires: systemd-python +Requires: python-dogpile-cache %else Requires: python2-flask-sqlalchemy Requires: python2-flask-migrate @@ -131,6 +132,7 @@ Requires: python2-six Requires: python2-futures Requires: python2-flask Requires: python2-tabulate +Requires: python2-dogpile-cache %if 0%{?fedora} && 0%{?fedora} <= 25 Requires: pyOpenSSL