diff --git python-django-pytest/python-django-pytest.spec python-django-pytest/python-django-pytest.spec.tmp index 501981152a..3cf9ddd0fe 100644 --- python-django-pytest/python-django-pytest.spec +++ python-django-pytest/python-django-pytest.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 0.2.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Allows you to use py.test as a django test runner License: BSD @@ -19,14 +19,20 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif +%global _description\ +This project allows you to use py.test as a django test runner,\ +instead of the default test runner. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-django Requires: pytest - Provides: %{pypi_name} = %{version}-%{release} +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -This project allows you to use py.test as a django test runner, -instead of the default test runner. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -72,7 +78,7 @@ popd %{__python} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{pypi_name} %doc LICENSE.txt README.md %{python_sitelib}/django_pytest/ %{python_sitelib}/django_pytest-%{version}-py2.7.egg-info @@ -83,6 +89,10 @@ popd %{python3_sitelib}/django_pytest-%{version}-py3.?.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-15 +- Python 2 binary package renamed to python2-django-pytest + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild