diff --git pyparted/pyparted.spec pyparted/pyparted.spec.tmp index 93ab53db3a..e24ca8ba8b 100644 --- pyparted/pyparted.spec +++ pyparted/pyparted.spec.tmp @@ -4,7 +4,7 @@ Summary: Python module for GNU parted Name: pyparted Epoch: 1 Version: 3.11.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: https://github.com/rhinstaller/pyparted @@ -22,10 +22,20 @@ BuildRequires: parted-devel >= 3.2-18 BuildRequires: pkgconfig BuildRequires: e2fsprogs -%description -Python module for the parted library. It is used for manipulating +%global _description\ +Python module for the parted library. It is used for manipulating\ partition tables. +%description %_description + +%package -n python2-pyparted +Summary: %summary +%{?python_provide:%python_provide python2-pyparted} +# Remove before F30 +Provides: pyparted = %{version}-%{release} + +%description -n python2-pyparted %_description + %if 0%{?with_python3} %package -n python3-pyparted Summary: Python 3 module for GNU parted @@ -75,7 +85,7 @@ popd %clean rm -rf %{buildroot} -%files +%files -n python2-pyparted %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README TODO %{python_sitearch}/_ped.so @@ -92,6 +102,10 @@ rm -rf %{buildroot} %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1:3.11.0-6 +- Python 2 binary package renamed to python2-pyparted + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1:3.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild