diff --git python-tgcaptcha2/python-tgcaptcha2.spec python-tgcaptcha2/python-tgcaptcha2.spec.tmp index 321cf39f91..076ccf43a9 100644 --- python-tgcaptcha2/python-tgcaptcha2.spec +++ python-tgcaptcha2/python-tgcaptcha2.spec.tmp @@ -2,7 +2,7 @@ Name: python-tgcaptcha2 Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: TurboGears captcha plugin Group: Development/Languages @@ -15,28 +15,35 @@ BuildArch: noarch BuildRequires: python-devel TurboGears BuildRequires: python-setuptools -Requires: TurboGears -Requires: espeak -Requires: python-fedora-turbogears -Requires: m2crypto - -%description -TGCaptcha2 is a TurboGears widget that provides an easy way to -incorporate a captcha as part a form in an attempt to reduce spam or -malicious activity. - -Features include: +%global _description\ +TGCaptcha2 is a TurboGears widget that provides an easy way to\ +incorporate a captcha as part a form in an attempt to reduce spam or\ +malicious activity.\ +\ +Features include:\ +\ + * (Relatively) pain-free usage and validation inside of a regular\ + widget-based form\ + * Flexibility to add or extend image generation algorithms and the\ + text displayed in the image\ +\ +Enhanced with:\ +\ + * Embed a word in the image or an equation that the user has to\ + solve\ + * Add an audio captch - * (Relatively) pain-free usage and validation inside of a regular - widget-based form - * Flexibility to add or extend image generation algorithms and the - text displayed in the image +%description %_description -Enhanced with: +%package -n python2-tgcaptcha2 +Summary: %summary +Requires: m2crypto +Requires: python-fedora-turbogears +Requires: espeak +Requires: TurboGears +%{?python_provide:%python_provide python2-tgcaptcha2} - * Embed a word in the image or an equation that the user has to - solve - * Add an audio captch +%description -n python2-tgcaptcha2 %_description %prep %setup -q -n TGCaptcha2-%{version} @@ -56,7 +63,7 @@ sed -i -e "s|from setuptools|__requires__ = ['TurboJson >= 1.3']\nfrom setuptool %{__rm} -rf %{buildroot} -%files +%files -n python2-tgcaptcha2 %defattr(-,root,root,-) %doc README.txt CONTRIBUTORS.txt CHANGELOG.txt COPYRIGHT.txt %{python_sitelib}/*.egg-info @@ -64,6 +71,10 @@ sed -i -e "s|from setuptools|__requires__ = ['TurboJson >= 1.3']\nfrom setuptool %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.3.1-5 +- Python 2 binary package renamed to python2-tgcaptcha2 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild