diff --git python-peak-util-addons/python-peak-util-addons.spec python-peak-util-addons/python-peak-util-addons.spec.tmp index 338a1133ae..191e17b498 100644 --- python-peak-util-addons/python-peak-util-addons.spec +++ python-peak-util-addons/python-peak-util-addons.spec.tmp @@ -6,7 +6,7 @@ Name: python-peak-util-addons Version: 0.7 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Dynamically extend other objects with AddOns Group: Development/Languages @@ -22,19 +22,27 @@ BuildRequires: python-setuptools-devel %else BuildRequires: python-setuptools %endif -Requires: python-decoratortools >= 1.5 - -%description -In any sufficiently-sized application or framework, it's common to end up -lumping a lot of different concerns into the same class. For example, you may -have business logic, persistence code, and UI all jammed into a single class. -Attribute and method names for all sorts of different operations get shoved -into a single namespace -- even when using mixin classes. -Separating concerns into different objects, however, makes it easier to write -reusable and separately-testable components. The AddOns package +%global _description\ +In any sufficiently-sized application or framework, it's common to end up\ +lumping a lot of different concerns into the same class. For example, you may\ +have business logic, persistence code, and UI all jammed into a single class.\ +Attribute and method names for all sorts of different operations get shoved\ +into a single namespace -- even when using mixin classes.\ +\ +Separating concerns into different objects, however, makes it easier to write\ +reusable and separately-testable components. The AddOns package\ (``peak.util.addons``) lets you manage concerns using ``AddOn`` classes. +%description %_description + +%package -n python2-peak-util-addons +Summary: %summary +Requires: python-decoratortools >= 1.5 +%{?python_provide:%python_provide python2-peak-util-addons} + +%description -n python2-peak-util-addons %_description + %prep %setup -q -n %{packagename}-%{version} @@ -48,12 +56,16 @@ rm -rf %{buildroot} %clean rm -rf %{buildroot} -%files +%files -n python2-peak-util-addons %defattr(-,root,root,-) %doc README.txt %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.7-14 +- Python 2 binary package renamed to python2-peak-util-addons + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild