diff --git rhnlib/rhnlib.spec rhnlib/rhnlib.spec.tmp index 62da1f8122..869f7f10fd 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,18 +16,27 @@ BuildArch: noarch %endif BuildRequires: python-devel -Requires: pyOpenSSL -Conflicts: rhncfg < 5.10.45 -Conflicts: spacewalk-proxy-installer < 1.3.2 -Conflicts: rhn-client-tools < 1.3.3 -Conflicts: rhn-custom-info < 5.4.7 -Conflicts: rhnpush < 5.5.10 -Conflicts: rhnclient < 0.10 -Conflicts: spacewalk-proxy < 1.3.6 +%global _description\ +rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software.\ -%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 +Conflicts: spacewalk-proxy < 1.3.6 +Conflicts: rhnclient < 0.10 +Conflicts: rhnpush < 5.5.10 +Conflicts: rhn-custom-info < 5.4.7 +Conflicts: rhn-client-tools < 1.3.3 +Conflicts: spacewalk-proxy-installer < 1.3.2 +Conflicts: rhncfg < 5.10.45 +Requires: pyOpenSSL +%{?python_provide:%python_provide python2-rhnlib} +# Remove before F30 +Provides: rhnlib = %{version}-%{release} + +%description -n python2-rhnlib %_description %if 0%{?fedora} %package -n python3-rhnlib @@ -74,7 +83,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 +94,10 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Aug 08 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