diff --git python-lmiwbem/python-lmiwbem.spec python-lmiwbem/python-lmiwbem.spec.tmp index 6a022dc4dd..39fe633f3e 100644 --- python-lmiwbem/python-lmiwbem.spec +++ python-lmiwbem/python-lmiwbem.spec.tmp @@ -3,7 +3,7 @@ Name: python-lmiwbem Version: 0.7.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Python WBEM Client License: LGPLv2+ URL: https://github.com/phatina/python-lmiwbem @@ -21,18 +21,25 @@ BuildRequires: boost-python >= 1.50.0 BuildRequires: openslp-devel BuildRequires: tog-pegasus-devel >= 2.12.0 BuildRequires: tog-pegasus-libs >= 2.12.0 + +%global _description\ +%{name} is a Python library, which performs CIM operations using CIM-XML\ +protocol. The library tries to mimic PyWBEM. + +%description %_description + +%package -n python2-lmiwbem +Summary: %summary Requires: boost-python >= 1.50.0 Requires: openslp Requires: python Requires: tog-pegasus-libs >= 2.12.0 - Provides: lmiwbem = %{version}-%{release} Provides: lmiwbem%{?_isa} = %{version}-%{release} Obsoletes: lmiwbem <= 0.6.0-3 +%{?python_provide:%python_provide python2-lmiwbem} -%description -%{name} is a Python library, which performs CIM operations using CIM-XML -protocol. The library tries to mimic PyWBEM. +%description -n python2-lmiwbem %_description %if %{py3build} %package -n python3-lmiwbem @@ -87,7 +94,7 @@ find %{buildroot} -name '*.la' | xargs rm -f popd %endif -%files +%files -n python2-lmiwbem %doc COPYING README.md %{python2_sitearch}/lmiwbem/ @@ -103,6 +110,10 @@ popd %{_docdir}/%{name}-%{version}/html %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.7.2-16 +- Python 2 binary package renamed to python2-lmiwbem + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.7.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild