Hello community, here is the log from the commit of package python-pywbem for openSUSE:Factory checked in at 2017-11-16 13:58:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pywbem (Old) and /work/SRC/openSUSE:Factory/.python-pywbem.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pywbem" Thu Nov 16 13:58:20 2017 rev:7 rq:541779 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pywbem/python-pywbem.changes 2017-07-11 08:34:16.872048114 +0200 +++ /work/SRC/openSUSE:Factory/.python-pywbem.new/python-pywbem.changes 2017-11-16 13:58:21.403403519 +0100 @@ -1,0 +2,18 @@ +Tue Nov 14 10:14:08 UTC 2017 - mpluskal@suse.com + +- Fix lost dependency + +------------------------------------------------------------------- +Wed Nov 8 13:39:33 UTC 2017 - mpluskal@suse.com + +- Update to version 0.11.0: + * Some new functionality such as: + + Added the MOF compiler API to the pywbem namespace. + + Add operation statistics gathering experimental. + + Documentation improvements + * Lots of bugfixes + * For full list of changes see: + https://pywbem.readthedocs.io/en/latest/changes.html#pywbem-v0-11-0 +- Convert to python singlespec + +------------------------------------------------------------------- Old: ---- pywbem-0.10.0.tar.gz New: ---- pywbem-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pywbem.spec ++++++ --- /var/tmp/diff_new_pack.LLiYba/_old 2017-11-16 13:58:22.467364969 +0100 +++ /var/tmp/diff_new_pack.LLiYba/_new 2017-11-16 13:58:22.471364824 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pywbem # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,80 +15,75 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global pkgname pywbem Name: python-pywbem -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-pip -BuildRequires: python-ply -%if 0%{?suse_version} -BuildRequires: python-xml -%if 0%{?suse_version} < 1200 -BuildRequires: python-m2crypto -%else -BuildRequires: python-M2Crypto -%endif -%else -BuildRequires: m2crypto -%endif -Version: 0.10.0 -Release: 4 -Group: System/Management +Version: 0.11.0 +Release: 0 Summary: Python module for making CIM operation calls using the WBEM protocol License: LGPL-2.1 -Url: http://pywbem.github.io/ +Group: System/Management +URL: http://pywbem.github.io/ Source0: pywbem-%{version}.tar.gz -# upstream compatibility -Provides: pywbem = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} +BuildRequires: %{python_module M2Crypto} +BuildRequires: %{python_module base} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module ply} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xml} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Requires: python-ply Requires: python-xml -%if 0%{?suse_version} < 1200 -Requires: python-m2crypto -%else +Requires: python-six Requires: python-M2Crypto +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%ifpython2 +Provides: pywbem = %{version} %endif -%else -Requires: m2crypto -%endif -Requires: python-PyYAML - - -%{!?py_sitedir: %global py_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?py_sitearch: %global py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?py_requires: %define py_requires Requires: python} -%{py_requires} +%python_subpackages %description PyWBEM is a Python module for making CIM operation calls using the WBEM protocol to query and update managed objects. %prep -%setup -q -n pywbem-%{version} +%setup -q -n %{pkgname}-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} \ - --root $RPM_BUILD_ROOT \ - --install-purelib=%{py_sitedir} - +%python_install +%fdupes %{buildroot} # don't clash with sblim-wbemcli -mv $RPM_BUILD_ROOT/usr/bin/wbemcli $RPM_BUILD_ROOT/usr/bin/pywbemcli -# END OF INSTALL - -rm -f $RPM_BUILD_ROOT/usr/bin/*.bat - -%files -%defattr(-,root,root,-) -%dir %{py_sitedir}/pywbem -%{py_sitedir}/pywbem-*.egg-info -%{py_sitedir}/pywbem/* -%{_bindir}/pywbemcli -%{_bindir}/wbemcli.py -%{_bindir}/mof_compiler +mv %{buildroot}%{_bindir}/wbemcli %{buildroot}%{_bindir}/pywbemcli +rm %{buildroot}%{_bindir}/*.bat +%python_clone -a %{buildroot}%{_bindir}/pywbemcli +%python_clone -a %{buildroot}%{_bindir}/wbemcli.py +%python_clone -a %{buildroot}%{_bindir}/mof_compiler + +%post +%python_install_alternative pywbemcli +%python_install_alternative wbemcli.py +%python_install_alternative mof_compiler + +%postun +%python_uninstall_alternative pywbemcli +%python_uninstall_alternative wbemcli.py +%python_uninstall_alternative mof_compiler + +%files %{python_files} +%doc README.rst pywbem/LICENSE.txt +%python_alternative %{_bindir}/pywbemcli +%python_alternative %{_bindir}/wbemcli.py +%python_alternative %{_bindir}/mof_compiler +%{python_sitelib}/* -%doc README.md pywbem/LICENSE.txt +%changelog ++++++ pywbem-0.10.0.tar.gz -> pywbem-0.11.0.tar.gz ++++++ ++++ 7997 lines of diff (skipped)