Hello community,

here is the log from the commit of package python-os-client-config for 
openSUSE:Factory checked in at 2020-04-01 19:18:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-client-config (Old)
 and      /work/SRC/openSUSE:Factory/.python-os-client-config.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-os-client-config"

Wed Apr  1 19:18:13 2020 rev:14 rq:790503 version:1.33.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-os-client-config/python-os-client-config.changes
  2019-12-04 14:18:43.266361239 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-os-client-config.new.3248/python-os-client-config.changes
        2020-04-01 19:18:33.487537049 +0200
@@ -1,0 +2,5 @@
+Wed Apr  1 09:27:05 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only builds
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-os-client-config.spec ++++++
--- /var/tmp/diff_new_pack.q2Shbg/_old  2020-04-01 19:18:34.083537317 +0200
+++ /var/tmp/diff_new_pack.q2Shbg/_new  2020-04-01 19:18:34.087537319 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-os-client-config
 #
-# 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,32 +25,25 @@
 Summary:        OpenStack Client Configuration Library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            https://launchpad.net/%{sname}
-Source0:        
https://files.pythonhosted.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+URL:            https://launchpad.net/%{name}
+Source0:        
https://files.pythonhosted.org/packages/source/o/os-client-config/os-client-config-1.33.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python2-pbr
-BuildRequires:  python2-setuptools
 BuildRequires:  python3-pbr
 BuildRequires:  python3-setuptools
-Requires:       python-PyYAML
-Requires:       python-appdirs
-Requires:       python-keystoneauth1
-Requires:       python-requestsexceptions
 BuildArch:      noarch
 %if %{with test}
-BuildRequires:  python-extras
-BuildRequires:  python-fixtures
-BuildRequires:  python-glanceclient
-BuildRequires:  python-jsonschema
-BuildRequires:  python-keystoneclient
-BuildRequires:  python-mock
-BuildRequires:  python-oslotest
-BuildRequires:  python-python-subunit
-BuildRequires:  python-stestr
-BuildRequires:  python-testscenarios
-BuildRequires:  python-testtools
+BuildRequires:  python3-extras
+BuildRequires:  python3-fixtures
+BuildRequires:  python3-glanceclient
+BuildRequires:  python3-jsonschema
+BuildRequires:  python3-keystoneclient
+BuildRequires:  python3-mock
+BuildRequires:  python3-oslotest
+BuildRequires:  python3-python-subunit
+BuildRequires:  python3-stestr
+BuildRequires:  python3-testscenarios
+BuildRequires:  python3-testtools
 %endif
-%python_subpackages
 
 %description
 os-client-config is a library for collecting client configuration for
@@ -60,46 +53,63 @@
 files, and it also contains some vendor specific default values so that
 you don't have to know extra info to use OpenStack.
 
+%package -n python3-os-client-config
+Summary:        OpenStack Client Configuration Library
+Group:          Development/Languages/Python
+Requires:       python3-PyYAML
+Requires:       python3-appdirs
+Requires:       python3-keystoneauth1
+Requires:       python3-requestsexceptions
+
+%description -n python3-os-client-config
+os-client-config is a library for collecting client configuration for
+using an OpenStack cloud in a consistent and comprehensive manner.
+It will find cloud config for as few as 1 cloud and as many as you want
+to put in a config file. It will read environment variables and config
+files, and it also contains some vendor specific default values so that
+you don't have to know extra info to use OpenStack.
+
+This package contains the Python 3.x module.
+
 %if %{with docs}
 %package -n python-os-client-config-doc
 Summary:        Documentation for OpenStack client configuration library
 Group:          Development/Languages/Python
-BuildRequires:  python-Sphinx
-BuildRequires:  python-openstackdocstheme
-BuildRequires:  python-reno
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-openstackdocstheme
+BuildRequires:  python3-reno
 
 %description -n python-os-client-config-doc
 Documentation for the os-client-config library.
 %endif
 
 %prep
-%autosetup -n %{sname}-%{version}
+%autosetup -p1 -n %{sname}-%{version}
 %py_req_cleanup
-sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
 
 %build
-%python_build
+%py3_build
 %if %{with docs}
 # generate html docs
-%{__python2} setup.py build_sphinx
+PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
-rm -rf html/.{doctrees,buildinfo}
+rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
 %install
-%python_install
+%py3_install
 
 %if %{with test}
 %check
-export 
PYTHONPATH="%{python2_sitearch}:%{python2_sitelib}:%{buildroot}%{python2_sitelib}"
-python2 -m stestr.cli run
+export 
PYTHONPATH="%{python3_sitearch}:%{python3_sitelib}:%{buildroot}%{python3_sitelib}"
+python3 -m stestr.cli run
 %endif
 
-%files %{python_files}
+%files -n python3-os-client-config
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/os_client_config
-%{python_sitelib}/*.egg-info
+%{python3_sitelib}/os_client_config
+%{python3_sitelib}/*.egg-info
 
 %if %{with docs}
 %files -n python-os-client-config-doc


Reply via email to