diff --git rhnlib/rhnlib.spec rhnlib/rhnlib.spec.tmp index 62da1f8122..2c32c82253 100644 --- rhnlib/rhnlib.spec +++ rhnlib/rhnlib.spec.tmp @@ -5,7 +5,7 @@ Name: rhnlib URL: https://fedorahosted.org/spacewalk Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz Version: 2.6.3 -Release: 4%{?dist} +Release: 5%{?dist} Group: Development/Libraries License: GPLv2 @@ -16,7 +16,15 @@ BuildArch: noarch %endif BuildRequires: python-devel -Requires: pyOpenSSL +%global _description\ +rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software.\ + + +%description %_description + +%package -n python2-rhnlib +Summary: %summary +Requires: pyOpenSSL Conflicts: rhncfg < 5.10.45 Conflicts: spacewalk-proxy-installer < 1.3.2 Conflicts: rhn-client-tools < 1.3.3 @@ -24,10 +32,12 @@ Conflicts: rhn-custom-info < 5.4.7 Conflicts: rhnpush < 5.5.10 Conflicts: rhnclient < 0.10 Conflicts: spacewalk-proxy < 1.3.6 +%{?python_provide:%python_provide python2-rhnlib} +# Remove before F30 +Provides: rhnlib%{?_isa} = %{version}-%{release} +Obsoletes: rhnlib < %{version}-%{release} -%description -rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software. - +%description -n python2-rhnlib %_description %if 0%{?fedora} %package -n python3-rhnlib @@ -74,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-rhnlib %doc ChangeLog COPYING README TODO %{python_sitelib}/* @@ -85,6 +95,10 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.6.3-5 +- Python 2 binary package renamed to python2-rhnlib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild