diff --git python-pottymouth/python-pottymouth.spec python-pottymouth/python-pottymouth.spec.tmp index 457049703b..0559d9e329 100644 --- python-pottymouth/python-pottymouth.spec +++ python-pottymouth/python-pottymouth.spec.tmp @@ -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,7 +50,7 @@ python setup.py build %install python setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-pottymouth %doc LICENSE.txt %{_defaultdocdir}/python-pottymouth/readme.html @@ -62,6 +70,10 @@ python setup.py install --skip-build --root $RPM_BUILD_ROOT %attr(0755,root,root) %{python_sitelib}/pottymouth.py %changelog +* Tue Aug 08 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