diff --git python-characteristic/python-characteristic.spec python-characteristic/python-characteristic.spec.tmp index 8f6e35dd14..68940a5655 100644 --- python-characteristic/python-characteristic.spec +++ python-characteristic/python-characteristic.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: 14.3.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python library that eases the chores of implementing attributes License: MIT @@ -25,27 +25,35 @@ BuildRequires: python3-pytest >= 2.6 %endif # with_python3 -%description -NOTE: characteristic is in maintenance-only mode upstream. Projects that do -not current use characteristic are not advised to adopt it: instead look at -the successor project, attrs (available as python2-attrs / python3-attrs). - -Say 'yes' to types but 'no' to typing! - -characteristic is a Python package with class decorators that ease the chores -of implementing the most common attribute-related object protocols. - -You just specify the attributes to work with and ``characteristic`` gives you: - -- a nice human-readable ``__repr__``, -- a complete set of comparison methods, -- and a kwargs-based initializer (that cooperates with your existing one) - -*without* writing dull boilerplate code again and again. - -So put down that type-less data structures and welcome some class into your -life! - +%global _description\ +NOTE: characteristic is in maintenance-only mode upstream. Projects that do\ +not current use characteristic are not advised to adopt it: instead look at\ +the successor project, attrs (available as python2-attrs / python3-attrs).\ +\ +Say 'yes' to types but 'no' to typing!\ +\ +characteristic is a Python package with class decorators that ease the chores\ +of implementing the most common attribute-related object protocols.\ +\ +You just specify the attributes to work with and ``characteristic`` gives you:\ +\ +- a nice human-readable ``__repr__``,\ +- a complete set of comparison methods,\ +- and a kwargs-based initializer (that cooperates with your existing one)\ +\ +*without* writing dull boilerplate code again and again.\ +\ +So put down that type-less data structures and welcome some class into your\ +life!\ + + +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description %if 0%{?with_python3} %package -n python3-%{srcname} @@ -112,7 +120,7 @@ popd %endif # with_python3 -%files +%files -n python2-%{srcname} %doc README.rst %license LICENSE @@ -133,6 +141,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 14.3.0-9 +- Python 2 binary package renamed to python2-characteristic + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 14.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild