diff --git python-django-extra-form-fields/python-django-extra-form-fields.spec python-django-extra-form-fields/python-django-extra-form-fields.spec.tmp index 66b675ce8c..adf79bd832 100644 --- python-django-extra-form-fields/python-django-extra-form-fields.spec +++ python-django-extra-form-fields/python-django-extra-form-fields.spec.tmp @@ -3,7 +3,7 @@ Name: python-django-extra-form-fields Version: 0.0.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Additional form fields for Django applications License: GPLv3+ @@ -13,22 +13,29 @@ Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-% BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-django -Provides: %{pkgname} = %{version}-%{release} -Obsoletes: %{pkgname} < %{obs_ver} +%global _description\ +Additional form fields to use in Django applications:\ +\ + NextUrlField - add to forms that need to store url of next page\ + get_next_url - utility function to extract next url from the request object\ + UserNameField - field to enter user name - allows unique username site-wide\ + UserEmailField - allows unique email address site-wide if\ + EMAIL_UNIQUE setting is True\ +\ -%description -Additional form fields to use in Django applications: - NextUrlField - add to forms that need to store url of next page - get_next_url - utility function to extract next url from the request object - UserNameField - field to enter user name - allows unique username site-wide - UserEmailField - allows unique email address site-wide if - EMAIL_UNIQUE setting is True +%description %_description +%package -n python2-django-extra-form-fields +Summary: %summary +Obsoletes: %{pkgname} < %{obs_ver} +Provides: %{pkgname} = %{version}-%{release} +Requires: python-django +%{?python_provide:%python_provide python2-django-extra-form-fields} +%description -n python2-django-extra-form-fields %_description %prep %setup -q -n %{pkgname}-%{version} @@ -40,7 +47,7 @@ Additional form fields to use in Django applications: %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-django-extra-form-fields %doc AUTHORS COPYING LICENSE %{python_sitelib}/django_extra_form_fields %{python_sitelib}/django_extra_form_fields-%{version}* @@ -48,6 +55,10 @@ Additional form fields to use in Django applications: %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.0.1-15 +- Python 2 binary package renamed to python2-django-extra-form-fields + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild