From 296b1729ee8bbbbb8bc93ead61258fc4d0969a45 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 29 2018 07:05:41 +0000 Subject: Enable python dependency generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko --- diff --git a/python-responses.spec b/python-responses.spec index b70ff9f..a6a3a87 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -1,10 +1,11 @@ +%{?python_enable_dependency_generator} %global pypi_name responses %global sum Reusable django app for collecting and visualizing network topology Name: python-%{pypi_name} Version: 0.9.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum} License: ASL 2.0 URL: https://github.com/getsentry/responses @@ -29,10 +30,11 @@ A utility library for mocking out the requests Python library. %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{sum} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} - +%if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-cookies Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-six +%endif %description -n python%{python3_pkgversion}-%{pypi_name} A utility library for mocking out the requests Python library. @@ -60,6 +62,9 @@ A utility library for mocking out the requests Python library. %{python3_sitelib}/__pycache__/test_%{pypi_name}.*.pyc %changelog +* Sat Dec 29 2018 Igor Gnatenko - 0.9.0-5 +- Enable python dependency generator + * Fri Dec 28 2018 Miro HronĨok - 0.9.0-4 - Subpackage python2-responses has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal