diff --git python-django-staticfiles/python-django-staticfiles.spec python-django-staticfiles/python-django-staticfiles.spec.tmp index 08127246b0..4e1c013a54 100644 --- python-django-staticfiles/python-django-staticfiles.spec +++ python-django-staticfiles/python-django-staticfiles.spec.tmp @@ -1,6 +1,6 @@ Name: python-django-staticfiles Version: 1.2.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A Django app that provides helpers for serving static files Group: Development/Languages @@ -11,18 +11,26 @@ Source: http://pypi.python.org/packages/source/d/django-staticfiles/djan BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-django -Requires: python-django-appconf -Provides: django-staticfiles = %{version}-%{release} # Because of the renaming mechanism, the next should stay forever in this package. -Obsoletes: django-staticfiles < 0.3.2-6 -%description -This is a Django app that provides helpers for serving static files. -The main website for django-staticfiles is github.com/jezdez/django-staticfiles +%global _description\ +This is a Django app that provides helpers for serving static files.\ +The main website for django-staticfiles is github.com/jezdez/django-staticfiles\ where you can also file tickets. +%description %_description + +%package -n python2-django-staticfiles +Summary: %summary +Requires: python-django +Requires: python-django-appconf +Provides: django-staticfiles = %{version}-%{release} +Obsoletes: django-staticfiles < 0.3.2-6 +%{?python_provide:%python_provide python2-django-staticfiles} + +%description -n python2-django-staticfiles %_description + %prep %setup -q -n django-staticfiles-%{version} rm -f docs/_build/html/.buildinfo @@ -34,12 +42,16 @@ rm -rf django_staticfiles.egg-info %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-django-staticfiles %doc docs/ LICENSE AUTHORS README.rst %{python_sitelib}/staticfiles %{python_sitelib}/django_staticfiles-%{version}-py?.?.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.1-11 +- Python 2 binary package renamed to python2-django-staticfiles + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild