Hello community, here is the log from the commit of package python-pyghmi for openSUSE:Factory checked in at 2020-03-24 22:32:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyghmi (Old) and /work/SRC/openSUSE:Factory/.python-pyghmi.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyghmi" Tue Mar 24 22:32:54 2020 rev:14 rq:787447 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyghmi/python-pyghmi.changes 2019-12-04 14:18:40.186360847 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyghmi.new.3160/python-pyghmi.changes 2020-03-24 22:32:55.849106569 +0100 @@ -1,0 +2,15 @@ +Mon Mar 23 12:20:53 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- add obsoletes + +------------------------------------------------------------------- +Tue Mar 17 19:21:34 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- fix requirements + +------------------------------------------------------------------- +Thu Mar 12 16:40:16 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- switch to python 3.x only client + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyghmi.spec ++++++ --- /var/tmp/diff_new_pack.EMXY5h/_old 2020-03-24 22:32:56.601106935 +0100 +++ /var/tmp/diff_new_pack.EMXY5h/_new 2020-03-24 22:32:56.605106937 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyghmi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,38 +25,41 @@ URL: https://launchpad.net/pyghmi Source0: https://files.pythonhosted.org/packages/source/p/pyghmi/pyghmi-1.3.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-devel -BuildRequires: python2-cryptography >= 2.1 -BuildRequires: python2-openstackdocstheme -BuildRequires: python2-oslotest -BuildRequires: python2-stestr BuildRequires: python3-cryptography >= 2.1 BuildRequires: python3-devel BuildRequires: python3-openstackdocstheme BuildRequires: python3-oslotest BuildRequires: python3-stestr -Requires: python-cryptography >= 2.1 BuildArch: noarch + +%description +This is a pure python implementation of IPMI protocol. + +pyghmicons and pyghmiutil are example scripts to show how one may incorporate +this library into python code + +%package -n python3-pyghmi +Summary: General Hardware Management Initiative (IPMI and others) +Group: Development/Languages/Python +Requires: python3-cryptography >= 2.1 +Requires: python3-python-dateutil >= 2.8.1 +Requires: python3-six >= 1.10.0 %if 0%{?suse_version} -Requires(post): update-alternatives -Requires(postun): update-alternatives -%else -# on RDO, update-alternatives is in chkconfig -Requires(post): chkconfig -Requires(postun): chkconfig +Obsoletes: python2-pyghmi < 1.6.0 %endif -%python_subpackages -%description +%description -n python3-pyghmi This is a pure python implementation of IPMI protocol. pyghmicons and pyghmiutil are example scripts to show how one may incorporate this library into python code +This package contains the Python 3.x module. + %package -n python-pyghmi-doc Summary: General Hardware Management Initiative (IPMI and others) -- Documentation Group: Documentation/HTML -BuildRequires: python-Sphinx +BuildRequires: python3-Sphinx %description -n python-pyghmi-doc This is a pure python implementation of IPMI protocol. @@ -69,42 +72,25 @@ %py_req_cleanup %build -%{python_build} - -%{__python2} setup.py build_sphinx --builder=html -rm -rf html/.{doctrees,buildinfo} +%{py3_build} +PYTHONPATH=. PBR_VERSION=1.3.0 %sphinx_build -b html doc/source doc/build/html +rm -rf doc/build/html/.{doctrees,buildinfo} %install -%{python_install} -%python_clone -a %{buildroot}%{_bindir}/pyghmicons -%python_clone -a %{buildroot}%{_bindir}/pyghmiutil -%python_clone -a %{buildroot}%{_bindir}/virshbmc -%python_clone -a %{buildroot}%{_bindir}/fakebmc - -%post -%python_install_alternative pyghmicons -%python_install_alternative pyghmiutil -%python_install_alternative virshbmc -%python_install_alternative fakebmc - -%postun -%python_uninstall_alternative pyghmicons -%python_uninstall_alternative pyghmiutil -%python_uninstall_alternative virshbmc -%python_uninstall_alternative fakebmc +%{py3_install} %check -%python_exec -m stestr.cli run +python3 -m stestr.cli run -%files %{python_files} +%files -n python3-pyghmi %doc README.md ChangeLog %license LICENSE -%python_alternative %{_bindir}/pyghmicons -%python_alternative %{_bindir}/pyghmiutil -%python_alternative %{_bindir}/virshbmc -%python_alternative %{_bindir}/fakebmc -%{python_sitelib}/pyghmi* -%{python_sitelib}/*.egg-info +%{_bindir}/pyghmicons +%{_bindir}/pyghmiutil +%{_bindir}/virshbmc +%{_bindir}/fakebmc +%{python3_sitelib}/pyghmi* +%{python3_sitelib}/*.egg-info %files -n python-pyghmi-doc %doc doc/build/html