diff --git python-django-flash/python-django-flash.spec python-django-flash/python-django-flash.spec.tmp index c9e4a04ab0..b478014813 100644 --- python-django-flash/python-django-flash.spec +++ python-django-flash/python-django-flash.spec.tmp @@ -2,7 +2,7 @@ Name: python-django-flash Version: 1.8 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A Django extension to provide support for Rails-like flash Group: Development/Languages License: BSD @@ -14,21 +14,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-django BuildRequires: python-django -Obsoletes: %{pkgname} < 1.7.2-7 -Provides: %{pkgname} = %{version}-%{release} +%global _description\ +A simple Django extension that provides support for Rails-like flash messages.\ +\ +The flash is a temporary storage mechanism that looks like a Python\ +dictionary, so you can store values associated with keys and later retrieve\ +them. It has one special property: by default, values stored into the flash\ +during the processing of a request will be available during the processing\ +of the immediately following request. Once that second request has been\ +processed, those values are removed automatically from the storage. -%description -A simple Django extension that provides support for Rails-like flash messages. +%description %_description -The flash is a temporary storage mechanism that looks like a Python -dictionary, so you can store values associated with keys and later retrieve -them. It has one special property: by default, values stored into the flash -during the processing of a request will be available during the processing -of the immediately following request. Once that second request has been -processed, those values are removed automatically from the storage. +%package -n python2-django-flash +Summary: %summary +Provides: %{pkgname} = %{version}-%{release} +Obsoletes: %{pkgname} < 1.7.2-7 +Requires: python-django +%{?python_provide:%python_provide python2-django-flash} + +%description -n python2-django-flash %_description %prep %setup -q -n %{pkgname}-%{version} @@ -45,13 +52,17 @@ find %{buildroot} -name 'manage.py' | xargs chmod 0755 %clean rm -rf %{buildroot} -%files +%files -n python2-django-flash %defattr(-,root,root,-) %doc AUTHORS LICENSE README.rst %{python_sitelib}/djangoflash %{python_sitelib}/django_flash-*.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.8-16 +- Python 2 binary package renamed to python2-django-flash + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild