diff --git python-django-devserver/python-django-devserver.spec python-django-devserver/python-django-devserver.spec.tmp index 8f129779cf..8d76a57adc 100644 --- python-django-devserver/python-django-devserver.spec +++ python-django-devserver/python-django-devserver.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 0.8.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Drop-in replacement for Django's runserver License: BSD @@ -21,15 +21,22 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif +%global _description\ +A drop in replacement for Django's built-in runserver command.\ +Features include:\ +- An extendable interface for handling things such as real-time logging.\ +- Integration with the werkzeug interactive debugger.\ +- Threaded (default) and multi-process development servers.\ +- Ability to specify a WSGI application as your target environment. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-django +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -A drop in replacement for Django's built-in runserver command. -Features include: -- An extendable interface for handling things such as real-time logging. -- Integration with the werkzeug interactive debugger. -- Threaded (default) and multi-process development servers. -- Ability to specify a WSGI application as your target environment. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -74,7 +81,7 @@ pushd %{py3dir} popd %endif # with_python3 -%files +%files -n python2-%{pypi_name} %doc LICENSE README.rst %{python_sitelib}/devserver %{python_sitelib}/django_devserver* @@ -87,6 +94,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.8.0-7 +- Python 2 binary package renamed to python2-django-devserver + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild