diff --git python-enum34/python-enum34.spec python-enum34/python-enum34.spec.tmp index c11cb1b222..77ec3fc459 100644 --- python-enum34/python-enum34.spec +++ python-enum34/python-enum34.spec.tmp @@ -11,7 +11,7 @@ Name: python-enum34 Version: 1.1.6 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Libraries Summary: Backport of Python 3.4 Enum License: BSD @@ -21,19 +21,27 @@ Source0: https://files.pythonhosted.org/packages/source/e/enum34/enum34-% BuildRequires: python2-devel python-setuptools -%description -Python 3.4 introduced official support for enumerations. This is a -backport of that feature to Python 3.3, 3.2, 3.1, 2.7, 2.5, 2.5, and 2.4. +%global _description\ +Python 3.4 introduced official support for enumerations. This is a\ +backport of that feature to Python 3.3, 3.2, 3.1, 2.7, 2.5, 2.5, and 2.4.\ +\ +An enumeration is a set of symbolic names (members) bound to unique,\ +constant values. Within an enumeration, the members can be compared by\ +identity, and the enumeration itself can be iterated over.\ +\ +This module defines two enumeration classes that can be used to define\ +unique sets of names and values: Enum and IntEnum. It also defines one\ +decorator, unique, that ensures only unique member names are present\ +in an enumeration.\ -An enumeration is a set of symbolic names (members) bound to unique, -constant values. Within an enumeration, the members can be compared by -identity, and the enumeration itself can be iterated over. -This module defines two enumeration classes that can be used to define -unique sets of names and values: Enum and IntEnum. It also defines one -decorator, unique, that ensures only unique member names are present -in an enumeration. +%description %_description +%package -n python2-enum34 +Summary: %summary +%{?python_provide:%python_provide python2-enum34} + +%description -n python2-enum34 %_description %prep %setup -q -n enum34-%{version} @@ -52,11 +60,15 @@ popd # remove docs from sitelib, we'll put them in doc dir instead rm -rf %{buildroot}%{python2_sitelib}/enum/{LICENSE,README,doc} -%files +%files -n python2-enum34 %doc PKG-INFO enum/LICENSE enum/README enum/doc/enum.rst %{python2_sitelib}/* %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.1.6-3 +- Python 2 binary package renamed to python2-enum34 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild