Hello community,

here is the log from the commit of package python-os-testr for openSUSE:Factory 
checked in at 2018-01-06 18:48:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-testr (Old)
 and      /work/SRC/openSUSE:Factory/.python-os-testr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-os-testr"

Sat Jan  6 18:48:01 2018 rev:7 rq:556726 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-os-testr/python-os-testr.changes  
2017-08-28 15:31:47.565369792 +0200
+++ /work/SRC/openSUSE:Factory/.python-os-testr.new/python-os-testr.changes     
2018-01-06 18:48:01.406500027 +0100
@@ -1,0 +2,13 @@
+Fri Dec  8 00:22:09 UTC 2017 - [email protected]
+
+- update to version 1.0.0
+  - Switch to stestr under the covers
+  - rearrange content to fit the new standard layout
+  - Turn on warning-is-error in sphinx build
+  - Just changed the opening of the file
+  - update doc URL to the new location in the readme
+  - Fail when no test case selected
+  - Updated from global requirements
+  - Switch from oslosphinx to openstackdocstheme
+
+-------------------------------------------------------------------

Old:
----
  os-testr-0.8.2.tar.gz

New:
----
  os-testr-1.0.0.tar.gz

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

Other differences:
------------------
++++++ python-os-testr.spec ++++++
--- /var/tmp/diff_new_pack.9tcEeO/_old  2018-01-06 18:48:02.038470498 +0100
+++ /var/tmp/diff_new_pack.9tcEeO/_new  2018-01-06 18:48:02.042470311 +0100
@@ -16,28 +16,43 @@
 #
 
 
-%global sname os-testr
 Name:           python-os-testr
-Version:        0.8.2
+Version:        1.0.0
 Release:        0
 Summary:        A testr wrapper to provide functionality for OpenStack projects
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://docs.openstack.org/developer/os-testr
-Source0:        
https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/os-testr/os-testr-1.0.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python-ddt >= 1.0.1
 BuildRequires:  python-devel
-BuildRequires:  python-oslotest >= 1.10.0
-BuildRequires:  python-pbr >= 2.0.0
-BuildRequires:  python-testrepository >= 0.0.18
-BuildRequires:  python-testscenarios >= 0.4
-Requires:       python-Babel >= 2.3.4
+BuildRequires:  python2-ddt >= 1.0.1
+BuildRequires:  python2-oslotest >= 1.10.0
+BuildRequires:  python2-pbr >= 2.0.0
+BuildRequires:  python2-six >= 1.10.0
+BuildRequires:  python2-stestr >= 1.0.0
+BuildRequires:  python2-testscenarios >= 0.4
+BuildRequires:  python3-ddt >= 1.0.1
+BuildRequires:  python3-devel
+BuildRequires:  python3-oslotest >= 1.10.0
+BuildRequires:  python3-pbr >= 2.0.0
+BuildRequires:  python3-six >= 1.10.0
+BuildRequires:  python3-stestr >= 1.0.0
+BuildRequires:  python3-testscenarios >= 0.4
 Requires:       python-pbr >= 2.0.0
-Requires:       python-python-subunit >= 0.0.18
-Requires:       python-testrepository >= 0.0.18
-Requires:       python-testtools >= 1.4.0
+Requires:       python-python-subunit >= 1.0.0
+Requires:       python-stestr >= 1.0.0
+Requires:       python-testtools >= 2.2.0
 BuildArch:      noarch
+%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
+%endif
+%python_subpackages
 
 %description
 A testr wrapper to provide functionality for OpenStack projects
@@ -45,21 +60,22 @@
 * Source: http://git.openstack.org/cgit/openstack/os-testr
 * Bugs: http://bugs.launchpad.net/os-testr
 
-%package doc
+%package -n python-os-testr-doc
 Summary:        Documentation for the testr
-Group:          Documentation
+Group:          Documentation/HTML
 BuildRequires:  python-Sphinx
-BuildRequires:  python-oslosphinx >= 4.7.0
+BuildRequires:  python-openstackdocstheme >= 1.17.0
 
-%description doc
+%description -n python-os-testr-doc
 Documentation for the testr wrapper.
 
 %prep
-%autosetup -n %{sname}-%{version}
+%autosetup -p1 -n os-testr-1.0.0
 %py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
 
 %build
-%{py2_build}
+%{python_build}
 
 # generate html docs
 %{__python2} setup.py build_sphinx
@@ -67,26 +83,36 @@
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{py2_install}
+%{python_install}
+%python_clone -a %{buildroot}%{_bindir}/generate-subunit
+%python_clone -a %{buildroot}%{_bindir}/ostestr
+%python_clone -a %{buildroot}%{_bindir}/subunit-trace
+%python_clone -a %{buildroot}%{_bindir}/subunit2html
+
+%post
+%python_install_alternative generate-subunit
+%python_install_alternative ostestr
+%python_install_alternative subunit-trace
+%python_install_alternative subunit2html
+
+%postun
+%python_uninstall_alternative generate-subunit
+%python_uninstall_alternative ostestr
+%python_uninstall_alternative subunit-trace
+%python_uninstall_alternative subunit2html
 
-%check
-export PATH="$PATH:%{buildroot}/%{_bindir}"
-export 
PYTHONPATH="%{python2_sitearch}:%{python2_sitelib}:%{buildroot}%{python2_sitelib}"
-%{__python2} setup.py testr
-
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %license LICENSE
-%doc README.rst ChangeLog
-%{_bindir}/generate-subunit
-%{_bindir}/ostestr
-%{_bindir}/subunit-trace
-%{_bindir}/subunit2html
-%{python2_sitelib}/os_testr
-%{python2_sitelib}/os_testr*egg-info
+%python_alternative %{_bindir}/generate-subunit
+%python_alternative %{_bindir}/ostestr
+%python_alternative %{_bindir}/subunit-trace
+%python_alternative %{_bindir}/subunit2html
+%{python_sitelib}/os_testr
+%{python_sitelib}/os_testr*egg-info
 
-%files doc
+%files -n python-os-testr-doc
 %license LICENSE
-%doc doc/build/html
+%doc doc/build/html README.rst ChangeLog
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.9tcEeO/_old  2018-01-06 18:48:02.070469003 +0100
+++ /var/tmp/diff_new_pack.9tcEeO/_new  2018-01-06 18:48:02.070469003 +0100
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/os-testr/os-testr.spec.j2</param>
+    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/os-testr/os-testr.spec.j2</param>
     <param name="output-name">python-os-testr.spec</param>
-    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
+    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,os-testr</param>
   </service>

++++++ os-testr-0.8.2.tar.gz -> os-testr-1.0.0.tar.gz ++++++
++++ 1962 lines of diff (skipped)


Reply via email to