Hello community,

here is the log from the commit of package python-pycadf for openSUSE:Factory 
checked in at 2020-03-24 22:32:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycadf (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycadf.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycadf"

Tue Mar 24 22:32:26 2020 rev:15 rq:785059 version:2.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycadf/python-pycadf.changes      
2019-12-04 14:18:39.422360750 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycadf.new.3160/python-pycadf.changes    
2020-03-24 22:32:27.525092803 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 15:36:36 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- switch to python 3.x only builds
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pycadf.spec ++++++
--- /var/tmp/diff_new_pack.fTiBXH/_old  2020-03-24 22:32:28.965093504 +0100
+++ /var/tmp/diff_new_pack.fTiBXH/_new  2020-03-24 22:32:28.969093506 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycadf
 #
-# 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
@@ -16,7 +16,6 @@
 #
 
 
-%global oldpython python
 Name:           python-pycadf
 Version:        2.10.0
 Release:        0
@@ -26,15 +25,6 @@
 URL:            https://launchpad.net/pycadf
 Source0:        
https://files.pythonhosted.org/packages/source/p/pycadf/pycadf-2.10.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python2-fixtures
-BuildRequires:  python2-oslo.config >= 5.2.0
-BuildRequires:  python2-oslo.serialization >= 2.18.0
-BuildRequires:  python2-oslotest
-BuildRequires:  python2-pbr
-BuildRequires:  python2-setuptools
-BuildRequires:  python2-stestr
-BuildRequires:  python2-testscenarios
-BuildRequires:  python2-testtools
 BuildRequires:  python3-fixtures
 BuildRequires:  python3-oslo.config >= 5.2.0
 BuildRequires:  python3-oslo.serialization >= 2.18.0
@@ -44,23 +34,31 @@
 BuildRequires:  python3-stestr
 BuildRequires:  python3-testscenarios
 BuildRequires:  python3-testtools
-Requires:       %{oldpython}-pycadf-common
-Requires:       python-debtcollector >= 1.2.0
-Requires:       python-oslo.config >= 5.2.0
-Requires:       python-oslo.serialization >= 2.18.0
-Requires:       python-pytz >= 2013.6
-Requires:       python-six >= 1.10.0
 BuildArch:      noarch
-%python_subpackages
 
 %description
 DMTF Cloud Audit (CADF) data model
 
+%package -n python3-pycadf
+Summary:        DMTF Cloud Audit (CADF) data model
+Group:          Development/Languages/Python
+Requires:       python-pycadf-common
+Requires:       python3-debtcollector >= 1.2.0
+Requires:       python3-oslo.config >= 5.2.0
+Requires:       python3-oslo.serialization >= 2.18.0
+Requires:       python3-pytz >= 2013.6
+Requires:       python3-six >= 1.10.0
+
+%description -n python3-pycadf
+DMTF Cloud Audit (CADF) data model
+
+This package contains the Python 3.x module.
+
 %package -n python-pycadf-doc
 Summary:        Documentation for the DMTF Cloud Audit (CADF) data model
 Group:          Development/Languages/Python
-BuildRequires:  python-Sphinx
-BuildRequires:  python-openstackdocstheme
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-openstackdocstheme
 
 %description -n python-pycadf-doc
 Documentation for the DMTF Cloud Audit (CADF) data model.
@@ -74,31 +72,30 @@
 
 %prep
 %autosetup -n pycadf-2.10.0
-sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
 %py_req_cleanup
 
 %build
-%{python_build}
+%{py3_build}
 
 # generate html docs
-%{__python2} setup.py build_sphinx
+PBR_VERSION=2.10.0 %sphinx_build -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{python_install}
+%{py3_install}
 # FIXME: pbr/wheel bug installing onfiguration files in /usr/etc
 mkdir -p %{buildroot}/%{_sysconfdir}
 mv %{buildroot}%{_prefix}%{_sysconfdir}/pycadf %{buildroot}/%{_sysconfdir}/
 
 %check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
 
-%files %{python_files}
+%files -n python3-pycadf
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/pycadf
-%{python_sitelib}/pycadf-*-py?.?.egg-info
+%{python3_sitelib}/pycadf
+%{python3_sitelib}/pycadf-*-py?.?.egg-info
 
 %files -n python-pycadf-common
 %license LICENSE


Reply via email to