From 014789c52d19b89434d07130dc36e7183a3b27b9 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Aug 19 2017 13:40:18 +0000 Subject: Python 2 binary package renamed to python2-django-pytest --- diff --git a/python-django-pytest.spec b/python-django-pytest.spec index 5019811..f014d52 100644 --- a/python-django-pytest.spec +++ b/python-django-pytest.spec @@ -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 19 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