Python 2 binary package renamed to python2-pywbem

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:43:36 -04:00
parent d7137fa034
commit 3f6d859cdd

View File

@ -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,22 +11,33 @@ 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.
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
%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.
%description %_description
%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
Summary: Python3 WBEM Client and Provider Interface
@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 0.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild