Hello community,
here is the log from the commit of package python-tempest-lib for
openSUSE:Factory checked in at 2016-09-30 15:30:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tempest-lib (Old)
and /work/SRC/openSUSE:Factory/.python-tempest-lib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tempest-lib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tempest-lib/python-tempest-lib.changes
2016-05-04 08:19:38.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-tempest-lib.new/python-tempest-lib.changes
2016-09-30 15:30:02.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 1 05:37:27 UTC 2016 - [email protected]
+
+- Update _service and switch to upstream spec template
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tempest-lib.spec ++++++
--- /var/tmp/diff_new_pack.sNJigK/_old 2016-09-30 15:30:05.000000000 +0200
+++ /var/tmp/diff_new_pack.sNJigK/_new 2016-09-30 15:30:05.000000000 +0200
@@ -23,40 +23,32 @@
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.openstack.org/
-Source:
https://pypi.python.org/packages/source/t/tempest-lib/tempest-lib-%{version}.tar.gz
+Source0:
https://pypi.io/packages/source/t/tempest-lib/tempest-lib-%{version}.tar.gz
+BuildRequires: openstack-macros
+BuildRequires: python-ddt >= 1.0.1
BuildRequires: python-devel
-BuildRequires: python-pbr
-BuildRequires: python-setuptools
-# test requirements
-BuildRequires: python-coverage
-BuildRequires: python-ddt
-BuildRequires: python-discover
-BuildRequires: python-httplib2
-BuildRequires: python-jsonschema
-BuildRequires: python-mock
-BuildRequires: python-oslo.log
-BuildRequires: python-oslosphinx
-BuildRequires: python-oslotest
-BuildRequires: python-paramiko
-BuildRequires: python-python-subunit
-BuildRequires: python-sphinx
-BuildRequires: python-testrepository
-BuildRequires: python-testscenarios
-BuildRequires: python-testtools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: python-Babel >= 1.3
-Requires: python-fixtures >= 1.3.1
+BuildRequires: python-httplib2 >= 0.7.5
+BuildRequires: python-jsonschema >= 2.0.0
+BuildRequires: python-mock >= 2.0
+BuildRequires: python-oslo.log >= 1.14.0
+BuildRequires: python-oslosphinx >= 2.5.0
+BuildRequires: python-oslotest >= 1.10.0
+BuildRequires: python-paramiko >= 2.0
+BuildRequires: python-pbr >= 1.6
+BuildRequires: python-python-subunit >= 0.0.18
+BuildRequires: python-sphinx >= 1.2.1
+BuildRequires: python-testrepository >= 0.0.18
+BuildRequires: python-testscenarios >= 0.4
+BuildRequires: python-testtools >= 1.4.0
+Requires: python-Babel >= 2.3.4
+Requires: python-fixtures >= 3.0.0
Requires: python-httplib2 >= 0.7.5
-Requires: python-iso8601 >= 0.1.9
+Requires: python-iso8601 >= 0.1.11
Requires: python-jsonschema >= 2.0.0
-Requires: python-os-testr >= 0.4.1
+Requires: python-os-testr >= 0.7.0
Requires: python-oslo.log >= 1.14.0
Requires: python-six >= 1.9.0
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
OpenStack Functional Testing Library
@@ -65,21 +57,23 @@
%setup -q -n tempest-lib-%{version}
%build
-python setup.py build
+%{__python2} setup.py build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python2} setup.py install --skip-build --prefix=%{_prefix}
--root=%{buildroot}
# both files are provided by openstack-tempest (because tempest-lib is
# now deprecated and the code was copied to tempest)
rm %{buildroot}/%{_bindir}/skip-tracker
rm %{buildroot}/%{_bindir}/check-uuid
%check
-testr init && testr run --parallel
+%{__python2} setup.py testr
%files
%defattr(-,root,root,-)
-%doc README.rst ChangeLog LICENSE AUTHORS
-%{python_sitelib}/*
+%license LICENSE
+%doc README.rst ChangeLog AUTHORS
+%{python2_sitelib}/tempest_lib
+%{python2_sitelib}/*.egg-info
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.sNJigK/_old 2016-09-30 15:30:05.000000000 +0200
+++ /var/tmp/diff_new_pack.sNJigK/_new 2016-09-30 15:30:05.000000000 +0200
@@ -1,14 +1,13 @@
<services>
+ <service mode="disabled" name="renderspec">
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/tempest-lib/tempest-lib.spec.j2</param>
+ <param name="output-name">python-tempest-lib.spec</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt</param>
+ </service>
<service mode="disabled" name="download_files">
<param name="changesgenerate">enable</param>
</service>
- <service mode="disabled" name="set_version">
- <param name="basename">tempest-lib</param>
- </service>
<service name="refresh_patches" mode="disabled">
<param name="changesgenerate">enable</param>
</service>
- <service name="python_requires" mode="disabled">
- </service>
</services>
-