diff --git python-django-appconf/python-django-appconf.spec python-django-appconf/python-django-appconf.spec.tmp index c764be956a..2b9331a50c 100644 --- python-django-appconf/python-django-appconf.spec +++ python-django-appconf/python-django-appconf.spec.tmp @@ -16,7 +16,7 @@ Name: python-%{pypi_name} Version: 1.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A helper class for handling configuration defaults of packaged apps gracefully License: BSD @@ -33,12 +33,19 @@ BuildRequires: python2-flake8 BuildRequires: python-coverage BuildRequires: python2-django +%global _description\ +A helper class for handling configuration\ +defaults of packaged Django\ +apps gracefully. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python2-django +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -A helper class for handling configuration -defaults of packaged Django -apps gracefully. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -88,7 +95,7 @@ export PYTHONPATH=.:$PYTHONPATH export DJANGO_SETTINGS_MODULE=tests.test_settings coverage run %{_bindir}/django-admin test -v2 test -%files +%files -n python2-%{pypi_name} %doc html README.rst %license LICENSE %{python2_sitelib}/appconf @@ -103,6 +110,10 @@ coverage run %{_bindir}/django-admin test -v2 test %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.0.2-5 +- Python 2 binary package renamed to python2-django-appconf + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild