From 89d4344009ad86cbf7b569d6d2010e407490e31e Mon Sep 17 00:00:00 2001 From: Kamil Páral Date: Feb 08 2018 09:23:45 +0000 Subject: fix yet another dependency issue for EPEL --- diff --git a/python-resultsdb_api.spec b/python-resultsdb_api.spec index 2396f22..46a72c3 100644 --- a/python-resultsdb_api.spec +++ b/python-resultsdb_api.spec @@ -1,7 +1,7 @@ Name: python-resultsdb_api # NOTE: if you update version, *make sure* to also update `setup.py` Version: 2.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Interface api to ResultsDB License: GPLv2+ @@ -39,20 +39,30 @@ Interface api to ResultsDB %description %_description +# ********* Python 2 package ********** + %package -n python2-resultsdb_api Summary: %summary -Requires: python2-requests Requires: python2-simplejson + +%if 0%{?fedora} +Requires: python2-requests +%else +Requires: python-requests +%endif + %{?python_provide:%python_provide python2-resultsdb_api} %description -n python2-resultsdb_api %_description +# ************************************* + %prep %setup -q -n resultsdb_api-%{version} %check ## FIXME: fix the test suite -## https://phab.qa.fedoraproject.org/T900 +## https://pagure.io/taskotron/resultsdb_api/issue/1 # make test %build @@ -68,6 +78,9 @@ Requires: python2-simplejson %{python2_sitelib}/*.egg-info %changelog +* Thu Feb 08 2018 Kamil Páral - 2.0.0-9 +- fix yet another dependency issue for EPEL + * Mon Feb 05 2018 Iryna Shcherbina - 2.0.0-8 - Fix condition for EPEL