diff --git python-django-discover-runner/python-django-discover-runner.spec python-django-discover-runner/python-django-discover-runner.spec.tmp index ac17c103ac..d074709cce 100644 --- python-django-discover-runner/python-django-discover-runner.spec +++ python-django-discover-runner/python-django-discover-runner.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 1.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A Django test runner based on unittest2's test discovery License: BSD @@ -17,18 +17,26 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-unittest2 %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # with_python3 -%description -An alternative Django TEST_RUNNER which uses the unittest2 test discovery -from a base path specified in the settings, or any other module or package +%global _description\ +An alternative Django TEST_RUNNER which uses the unittest2 test discovery\ +from a base path specified in the settings, or any other module or package\ specified to the test management command -- including app tests. +%description %_description + +%package -n python2-django-discover-runner +Summary: %summary +Requires: python-unittest2 +%{?python_provide:%python_provide python2-django-discover-runner} + +%description -n python2-django-discover-runner %_description + %if 0%{?with_python3} %package -n python3-django-discover-runner Summary: A Django test runner based on unittest2's test discovery @@ -70,7 +78,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-django-discover-runner %doc README.rst LICENSE %{python2_sitelib}/discover_runner %{python2_sitelib}/django_discover_runner-%{version}-py?.?.egg-info @@ -83,6 +91,10 @@ popd %endif # with_python3 %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.0-12 +- Python 2 binary package renamed to python2-django-discover-runner + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild