diff --git a/python-pottymouth.spec b/python-pottymouth.spec index 457049703b..9b248dc6a7 100644 --- a/python-pottymouth.spec +++ b/python-pottymouth.spec @@ -1,32 +1,40 @@ %global pkgname PottyMouth Name: python-pottymouth Version: 2.2.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Transform unstructured, untrusted text to safe, valid XHTML Group: Development/Languages License: BSD URL: http://glyphobet.net/pottymouth/dist/ Source0: http://glyphobet.net/pottymouth/dist/%{pkgname}-%{version}.tar.gz BuildArch: noarch -Requires: python2 BuildRequires: python2-devel BuildRequires: python-setuptools -%description -PottyMouth transforms completely unstructured and untrusted text to -valid, nice-looking, completely safe XHTML - -PottyMouth is designed to handle input text -from non-technical, potentially careless or malicious users -It produces HTML that is completely safe, -programmatically and visually, to include on any web page -And you don't need to make your users read any instructions -before they start typing -They don't even need to know that +%global _description\ +PottyMouth transforms completely unstructured and untrusted text to\ +valid, nice-looking, completely safe XHTML\ +\ +PottyMouth is designed to handle input text\ +from non-technical, potentially careless or malicious users\ +It produces HTML that is completely safe,\ +programmatically and visually, to include on any web page\ +And you don't need to make your users read any instructions\ +before they start typing\ +They don't even need to know that\ PottyMouth is being used +%description %_description + +%package -n python2-pottymouth +Summary: %summary +Requires: python2 +%{?python_provide:%python_provide python2-pottymouth} + +%description -n python2-pottymouth %_description + %prep %setup -q -n %{pkgname}-%{version} #Remove bundled egg-info @@ -42,26 +50,26 @@ python setup.py build %install python setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%global _docdir_fmt %{name} + +%files -n python2-pottymouth %doc LICENSE.txt %{_defaultdocdir}/python-pottymouth/readme.html %{_defaultdocdir}/python-pottymouth/LICENSE.txt %{_defaultdocdir}/python-pottymouth/tests.py -%{_defaultdocdir}/python-pottymouth/tests.pyc -%{_defaultdocdir}/python-pottymouth/tests.pyo %{_defaultdocdir}/python-pottymouth/web.py -%{_defaultdocdir}/python-pottymouth/web.pyc -%{_defaultdocdir}/python-pottymouth/web.pyo %{_defaultdocdir}/python-pottymouth/profile.py -%{_defaultdocdir}/python-pottymouth/profile.pyc -%{_defaultdocdir}/python-pottymouth/profile.pyo %{python_sitelib}/PottyMouth-2.2.1-py2.7.egg-info %{python_sitelib}/pottymouth.pyc %{python_sitelib}/pottymouth.pyo %attr(0755,root,root) %{python_sitelib}/pottymouth.py %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 2.2.1-12 +- Python 2 binary package renamed to python2-pottymouth + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild