diff --git python-django-countries/python-django-countries.spec python-django-countries/python-django-countries.spec.tmp index 346b770f47..30cd921058 100644 --- python-django-countries/python-django-countries.spec +++ python-django-countries/python-django-countries.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Provides a country field for Django models Group: Development/Languages @@ -18,14 +18,21 @@ BuildRequires: python-setuptools BuildRequires: python2-devel BuildRequires: python-django BuildRequires: python-django-rest-framework -Requires: python-django +%global _description\ +Django application which provides country choices for use with forms, and a\ +country field for models. + +%description %_description + +%package -n python2-django-countries +Summary: %summary +Requires: python-django Provides: django-countries = %{version}-%{release} Obsoletes: django-countries < %{obs_ver} +%{?python_provide:%python_provide python2-django-countries} -%description -Django application which provides country choices for use with forms, and a -country field for models. +%description -n python2-django-countries %_description %package -n python3-django-countries Summary: Provides a country field for Django models - Python 3 version @@ -75,7 +82,7 @@ DJANGO_SETTINGS_MODULE=django_countries.tests.settings \ %{__python3} %{_bindir}/django-admin test django_countries.tests #popd -%files -f python2-django.lang +%files -n python2-django-countries -f python2-django.lang %doc LICENSE README.rst %exclude %{python_sitelib}/django_countries/tests %dir %{python_sitelib}/django_countries/ @@ -103,6 +110,10 @@ DJANGO_SETTINGS_MODULE=django_countries.tests.settings \ %{python3_sitelib}/*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 4.0-4 +- Python 2 binary package renamed to python2-django-countries + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild