diff --git python-construct/python-construct.spec python-construct/python-construct.spec.tmp index f0d730ca82..4759370d4c 100644 --- python-construct/python-construct.spec +++ python-construct/python-construct.spec.tmp @@ -3,7 +3,7 @@ Summary: A powerful declarative parser/builder for binary data Name: python-construct Version: 2.5.1 -Release: 11%{?dist} +Release: 12%{?dist} License: MIT URL: http://construct.readthedocs.org Source0: https://pypi.python.org/packages/source/c/construct/construct-%{version}.tar.gz @@ -12,18 +12,26 @@ BuildRequires: python-devel %if 0%{?with_python3} BuildRequires: python3-devel %endif -Requires: python-six - -%description -Construct is a powerful declarative parser (and builder) for binary -data. -Instead of writing imperative code to parse a piece of data, you -declaratively define a data structure that describes your data. As -this data structure is not code, you can use it in one direction to -parse data into Pythonic objects, and in the other direction, convert +%global _description\ +Construct is a powerful declarative parser (and builder) for binary\ +data.\ +\ +Instead of writing imperative code to parse a piece of data, you\ +declaratively define a data structure that describes your data. As\ +this data structure is not code, you can use it in one direction to\ +parse data into Pythonic objects, and in the other direction, convert\ (build) objects into binary data. +%description %_description + +%package -n python2-construct +Summary: %summary +Requires: python-six +%{?python_provide:%python_provide python2-construct} + +%description -n python2-construct %_description + %if 0%{?with_python3} %package -n python3-construct Summary: A powerful declarative parser/builder for binary data @@ -65,7 +73,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-construct %doc README.rst LICENSE %{python_sitelib}/construct %{python_sitelib}/construct-%{version}-py?.?.egg-info @@ -78,6 +86,10 @@ popd %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 2.5.1-12 +- Python 2 binary package renamed to python2-construct + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.5.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild