diff --git python-django-nose/python-django-nose.spec python-django-nose/python-django-nose.spec.tmp index 31c343e1e0..a4b2854312 100644 --- python-django-nose/python-django-nose.spec +++ python-django-nose/python-django-nose.spec.tmp @@ -8,7 +8,7 @@ Name: python-django-nose Version: 1.4.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Django test runner that uses nose License: BSD @@ -18,14 +18,21 @@ Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-% BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools + + +%global _description\ +Django test runner that uses nose. + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary Requires: python-nose Requires: python-django Provides: django-nose = %{version}-%{release} -Provides: python2-django-nose = %{version}-%{release} - +%{?python_provide:%python_provide python2-%{pkgname}} -%description -Django test runner that uses nose. +%description -n python2-%{pkgname} %_description %if 0%{?with_python3} %package -n python3-%{pkgname} @@ -61,7 +68,7 @@ rm -rf %{buildroot}/%{python_sitelib}/testapp rm -rf %{buildroot}/%{python3_sitelib}/testapp -%files +%files -n python2-%{pkgname} %doc README.rst %license LICENSE %{python_sitelib}/django_nose @@ -77,6 +84,10 @@ rm -rf %{buildroot}/%{python3_sitelib}/testapp %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.4.3-6 +- Python 2 binary package renamed to python2-django-nose + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild