diff --git python-slip/python-slip.spec python-slip/python-slip.spec.tmp index 6fa3429a34..46e83340a9 100644 --- python-slip/python-slip.spec +++ python-slip/python-slip.spec.tmp @@ -1,6 +1,6 @@ Name: python-slip Version: 0.6.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Convenience, extension and workaround code for Python 2.x Group: System Environment/Libraries @@ -14,14 +14,21 @@ BuildRequires: python-devel BuildRequires: python3 BuildRequires: python3-devel +%global _description\ +The Simple Library for Python 2.x packages contain miscellaneous code for\ +convenience, extension and workaround purposes.\ +\ +This package provides the "slip" and the "slip.util" modules. + +%description %_description + +%package -n python2-slip +Summary: %summary Requires: libselinux-python Requires: python-six +%{?python_provide:%python_provide python2-slip} -%description -The Simple Library for Python 2.x packages contain miscellaneous code for -convenience, extension and workaround purposes. - -This package provides the "slip" and the "slip.util" modules. +%description -n python2-slip %_description %package -n python3-slip Summary: Convenience, extension and workaround code for Python 3.x @@ -120,7 +127,7 @@ pushd %{py3dir} make install PYTHON=%{__python3} DESTDIR=%buildroot popd -%files +%files -n python2-slip %defattr(-,root,root,-) %doc COPYING doc/dbus %dir %{python2_sitelib}/slip/ @@ -157,6 +164,10 @@ popd %{python2_sitelib}/slip.gtk-%{version}-py%{python2_version}.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.6.4-8 +- Python 2 binary package renamed to python2-slip + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild