diff --git python-simpleparse/python-simpleparse.spec python-simpleparse/python-simpleparse.spec.tmp index 73f0e0fc57..0a2aefebb7 100644 --- python-simpleparse/python-simpleparse.spec +++ python-simpleparse/python-simpleparse.spec.tmp @@ -5,24 +5,32 @@ License: BSD Group: System Environment/Libraries Summary: A simple and fast parser generator Version: 2.1.1 -Release: 16%{?dist} +Release: 17%{?dist} URL: http://launchpad.net/simpleparse Source0: http://pypi.python.org/packages/source/S/SimpleParse/%{oname}-%{version}.tar.gz Patch1: %{name}-eols.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel -%description -SimpleParse is a BSD-licensed Python package providing a simple and fast parser -generator using a modified version of the mxTextTools text-tagging engine. -SimpleParse allows you to generate parsers directly from your EBNF grammar. +%global _description\ +SimpleParse is a BSD-licensed Python package providing a simple and fast parser\ +generator using a modified version of the mxTextTools text-tagging engine.\ +SimpleParse allows you to generate parsers directly from your EBNF grammar.\ +\ +\ +# we don't want to provide mxTextTools.so\ +%{?filter_setup:\ +%filter_provides_in %{python_sitearch}/.*\.so$\ +%filter_setup\ +} +%description %_description -# we don't want to provide mxTextTools.so -%{?filter_setup: -%filter_provides_in %{python_sitearch}/.*\.so$ -%filter_setup -} +%package -n python2-simpleparse +Summary: %summary +%{?python_provide:%python_provide python2-simpleparse} + +%description -n python2-simpleparse %_description %prep %setup -q -n %{oname}-%{version} @@ -39,7 +47,7 @@ rm -rf %{buildroot} %clean rm -rf %{buildroot} -%files +%files -n python2-simpleparse %defattr(-,root,root,-) %{python_sitearch} %exclude %{python_sitearch}/simpleparse/tests @@ -47,6 +55,10 @@ rm -rf %{buildroot} %doc license.txt doc examples %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.1.1-17 +- Python 2 binary package renamed to python2-simpleparse + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.1.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild