diff --git python-rhev/python-rhev.spec python-rhev/python-rhev.spec.tmp index 84110a210f..e7a8975c7f 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 License: MIT @@ -13,12 +13,20 @@ BuildRequires: python2-devel BuildRequires: python2-PyXB BuildRequires: python2-setuptools BuildRequires: /usr/bin/pyxbgen -Requires: python2-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: python2-PyXB +%{?python_provide:%python_provide python2-rhev} + +%description -n python2-rhev %_description + %prep %setup -q -n python-rhev-1.0-rc1.15 @@ -28,11 +36,15 @@ Enterprise Virtualization's REST API. %install %py2_install -%files +%files -n python2-rhev %doc examples/* README LICENSE AUTHORS %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0-15.rc1.11 +- Python 2 binary package renamed to python2-rhev + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Aug 11 2017 Zbigniew Jędrzejewski-Szmek - 1.0-15.rc1.10 - Modernize a bit and fix build