diff --git python-pathtools/python-pathtools.spec python-pathtools/python-pathtools.spec.tmp index 5c926f6c93..f3b0c61016 100644 --- python-pathtools/python-pathtools.spec +++ python-pathtools/python-pathtools.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{upname} Version: 0.1.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Pattern matching and various utilities for file systems paths License: MIT @@ -21,10 +21,18 @@ BuildRequires: python3-setuptools BuildRequires: python3-sphinx-theme-flask %endif -%description -%{name} is a Python API library for common path -and pattern functionality. +%global _description\ +%{name} is a Python API library for common path\ +and pattern functionality.\ + +%description %_description + +%package -n python2-%{upname} +Summary: %summary +%{?python_provide:%python_provide python2-%{upname}} + +%description -n python2-%{upname} %_description %if 0%{?fedora} || 0%{?rhel} >= 7 %package -n python3-%{upname} @@ -95,7 +103,7 @@ pushd %{py3dir} %endif -%files +%files -n python2-%{upname} %doc AUTHORS LICENSE README %{?el6:%doc README.docs} %{?!el6:%doc docs/build/html} @@ -109,6 +117,10 @@ pushd %{py3dir} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.2-11 +- Python 2 binary package renamed to python2-pathtools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild