Python 2 binary package renamed to python2-pyparted

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:21 -04:00
parent c160e96b91
commit c93c7d454d

View File

@ -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,21 @@ 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%{?_isa} = %{version}-%{release}
Obsoletes: 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 +86,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 +103,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1:3.11.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild