diff --git python-rhev/python-rhev.spec python-rhev/python-rhev.spec.tmp index bc69c16179..2daf7ec2d8 100644 --- python-rhev/python-rhev.spec +++ python-rhev/python-rhev.spec.tmp @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: python-rhev Version: 1.0 -Release: 15.rc1%{?dist}.10 +Release: 15.rc1%{?dist}.11 Summary: Python binding to Red Hat Enterprise Virtualization's REST API Group: Development/Languages @@ -14,12 +14,20 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: PyXB BuildRequires: python-setuptools -Requires: PyXB -%description -Python-RHEV is a validating object-oriented Python binding to Red Hat +%global _description\ +Python-RHEV is a validating object-oriented Python binding to Red Hat\ Enterprise Virtualization's REST API. +%description %_description + +%package -n python2-rhev +Summary: %summary +Requires: PyXB +%{?python_provide:%python_provide python2-rhev} + +%description -n python2-rhev %_description + %prep %setup -q -n python-rhev-1.0-rc1.15 @@ -33,12 +41,16 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-rhev %defattr(-,root,root,-) %doc examples/* README LICENSE AUTHORS %{python_sitelib}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.0-15.rc1.11 +- Python 2 binary package renamed to python2-rhev + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0-15.rc1.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild