From edbffe986769ce543ab8c3ba755383dc1438981c Mon Sep 17 00:00:00 2001 From: Merlin Mathesius Date: Thu, 29 Nov 2018 16:25:50 -0600 Subject: [PATCH] python2-pycdlib package has been removed in Fedora 30 as part of https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal Signed-off-by: Merlin Mathesius --- python-avocado.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python-avocado.spec b/python-avocado.spec index f2eb7870..d457282c 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -99,6 +99,10 @@ BuildRequires: python2-setuptools BuildRequires: python2-six BuildRequires: python2-sphinx BuildRequires: python2-stevedore +%endif +%if 0%{?fedora} && 0%{?fedora} <= 29 +# Python2 binary packages are being removed +# See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal BuildRequires: python2-pycdlib %endif @@ -157,6 +161,10 @@ Requires: python2-requests Requires: python2-setuptools Requires: python2-six Requires: python2-stevedore +%endif +%if 0%{?fedora} && 0%{?fedora} <= 29 +# Python2 binary packages are being removed +# See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal Requires: python2-pycdlib %endif %{?python_provide:%python_provide python2-%{srcname}} -- GitLab