diff --git python-fn/python-fn.spec python-fn/python-fn.spec.tmp index 3cd52244b2..d15aa205fe 100644 --- python-fn/python-fn.spec +++ python-fn/python-fn.spec.tmp @@ -4,7 +4,7 @@ Name: python-fn Version: 0.4.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Features to allow functional programming in Python Group: Development/Libraries @@ -14,19 +14,27 @@ Source0: https://pypi.python.org/packages/source/f/fn/fn-%{version}.tar.g BuildRequires: python2-devel python-setuptools BuildArch: noarch -%description -Despite the fact that Python is not pure-functional programming language, it's -a multi-paradigm PL and it gives you enough freedom to take credits from -functional programming approach. There are theoretical and practical advantages -to the functional style: +%global _description\ +Despite the fact that Python is not pure-functional programming language, it's\ +a multi-paradigm PL and it gives you enough freedom to take credits from\ +functional programming approach. There are theoretical and practical advantages\ +to the functional style:\ +\ + - Formal provability\ + - Modularity\ + - Composability\ + - Ease of debugging and testing\ +\ +Fn.py library provides you with missing "batteries" to get maximum from\ +functional approach even in mostly-imperative program. - - Formal provability - - Modularity - - Composability - - Ease of debugging and testing +%description %_description -Fn.py library provides you with missing "batteries" to get maximum from -functional approach even in mostly-imperative program. +%package -n python2-fn +Summary: %summary +%{?python_provide:%python_provide python2-fn} + +%description -n python2-fn %_description %if 0%{?with_python3} %package -n python3-fn @@ -86,7 +94,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-fn %doc HISTORY.rst README.rst LICENSE %{python_sitelib}/fn/ %{python_sitelib}/fn-%{version}* @@ -99,6 +107,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.3-9 +- Python 2 binary package renamed to python2-fn + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild