diff --git ovirt-engine-sdk-python/ovirt-engine-sdk-python.spec ovirt-engine-sdk-python/ovirt-engine-sdk-python.spec.tmp index 3c28e57226..a25e185c0c 100644 --- ovirt-engine-sdk-python/ovirt-engine-sdk-python.spec +++ ovirt-engine-sdk-python/ovirt-engine-sdk-python.spec.tmp @@ -1,6 +1,6 @@ Name: ovirt-engine-sdk-python Version: 3.6.9.1 -Release: 3%{dist} +Release: 4%{dist} Summary: oVirt Engine Software Development Kit (Python) Group: Development/Libraries License: ASL 2.0 @@ -15,16 +15,25 @@ BuildRequires: python-devel BuildRequires: python-setuptools BuildArch: noarch +%global _description\ +This package contains The oVirt-Engine Software Development Kit.\ +With this package, custom software can be built for oVirt-Engine. + +%description %_description + +%package -n python2-ovirt-engine-sdk +Summary: %summary Requires: python Requires: python-lxml Requires: python-pycurl >= 7.19.0 - Provides: ovirt-engine-sdk = %{version}-%{release} Obsoletes: ovirt-engine-sdk < 3.3.0.6 +%{?python_provide:%python_provide python2-ovirt-engine-sdk} +# Remove before F30 +Provides: ovirt-engine-sdk-python%{?_isa} = %{version}-%{release} +Obsoletes: ovirt-engine-sdk-python < %{version}-%{release} -%description -This package contains The oVirt-Engine Software Development Kit. -With this package, custom software can be built for oVirt-Engine. +%description -n python2-ovirt-engine-sdk %_description %prep %setup -q @@ -39,13 +48,17 @@ sed -i 1d src/ovirtsdk/xml/params.py %install %py2_install -%files +%files -n python2-ovirt-engine-sdk %doc AUTHORS.md %doc README.md %license LICENSE.txt %{python2_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.6.9.1-4 +- Python 2 binary package renamed to python2-ovirt-engine-sdk + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 3.6.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild