diff --git python-django-simple-captcha/python-django-simple-captcha.spec python-django-simple-captcha/python-django-simple-captcha.spec.tmp index 796abd64a0..276cc1cccb 100644 --- python-django-simple-captcha/python-django-simple-captcha.spec +++ python-django-simple-captcha/python-django-simple-captcha.spec.tmp @@ -7,7 +7,7 @@ Summary: Django application to add captcha images to any Django form Name: python-django-simple-captcha Version: 0.4.5 -Release: 6%{?dist} +Release: 7%{?dist} License: MIT Group: Development/Libraries URL: https://github.com/mbi/django-simple-captcha @@ -23,18 +23,24 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif + +%global _description\ +Django Simple Captcha is an extremely simple, yet highly customizable\ +Django application to add captcha images to any Django form + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary Requires: python-django Requires: python-pillow Requires: flite Requires: python-six - Provides: %{pkgname} = %{version}-%{release} Obsoletes: %{pkgname} < %{obs_ver} +%{?python_provide:%python_provide python2-%{pkgname}} - -%description -Django Simple Captcha is an extremely simple, yet highly customizable -Django application to add captcha images to any Django form +%description -n python2-%{pkgname} %_description %if 0%{?with_python3} %package -n python3-%{pkgname} @@ -80,7 +86,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-%{pkgname} %doc LICENSE MANIFEST.in PKG-INFO %{python_sitelib}/captcha/ %{python_sitelib}/django_simple_captcha-%{version}-py2* @@ -94,6 +100,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.5-7 +- Python 2 binary package renamed to python2-django-simple-captcha + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild