diff --git pywbem/pywbem.spec pywbem/pywbem.spec.tmp index 2933d80dd4..0e54553549 100644 --- pywbem/pywbem.spec +++ pywbem/pywbem.spec.tmp @@ -2,7 +2,7 @@ Name: pywbem Version: 0.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python2 WBEM Client and Provider Interface Group: Development/Libraries License: LGPLv2 @@ -11,21 +11,32 @@ Source0: https://github.com/pywbem/pywbem/archive/v%{version}.tar.gz BuildRequires: python-pip PyYAML python-ply python2-rpm-macros BuildRequires: python3-pip python3-PyYAML python3-ply python3-rpm-macros BuildArch: noarch -Requires: m2crypto PyYAML python-six -%description -A Python library for making CIM (Common Information Model) operations over HTTP -using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM -client should be easy to use and not necessarily require a large amount of -programming knowledge. It is suitable for a large range of tasks from simply -poking around to writing web and GUI applications. +%global _description\ +A Python library for making CIM (Common Information Model) operations over HTTP\ +using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM\ +client should be easy to use and not necessarily require a large amount of\ +programming knowledge. It is suitable for a large range of tasks from simply\ +poking around to writing web and GUI applications.\ +\ +WBEM, or Web Based Enterprise Management is a manageability protocol, like\ +SNMP, standardized by the Distributed Management Task Force (DMTF) available\ +at http://www.dmtf.org/standards/wbem.\ +\ +It also provides a Python provider interface, and is the fastest and\ +easiest way to write providers on the planet. -WBEM, or Web Based Enterprise Management is a manageability protocol, like -SNMP, standardized by the Distributed Management Task Force (DMTF) available -at http://www.dmtf.org/standards/wbem. +%description %_description -It also provides a Python provider interface, and is the fastest and -easiest way to write providers on the planet. +%package -n python2-pywbem +Summary: %summary +Requires: m2crypto PyYAML python-six +%{?python_provide:%python_provide python2-pywbem} +# Remove before F30 +Provides: pywbem%{?_isa} = %{version}-%{release} +Obsoletes: pywbem < %{version}-%{release} + +%description -n python2-pywbem %_description %package -n python3-pywbem Group: Development/Libraries @@ -77,7 +88,7 @@ popd %clean rm -rf %{buildroot} -%files +%files -n python2-pywbem %{python2_sitelib}/*.egg-info %{python2_sitelib}/pywbem/*.py* %{python2_sitelib}/pywbem/LICENSE.txt @@ -96,6 +107,10 @@ rm -rf %{buildroot} %{python_sitelib}/pywbem/twisted_client.py* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.10.0-3 +- Python 2 binary package renamed to python2-pywbem + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild