Hello community,

here is the log from the commit of package python-manilaclient for 
openSUSE:Factory checked in at 2018-03-19 23:37:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-manilaclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-manilaclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-manilaclient"

Mon Mar 19 23:37:08 2018 rev:12 rq:584482 version:1.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-manilaclient/python-manilaclient.changes  
2018-02-14 10:50:37.363841617 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-manilaclient.new/python-manilaclient.changes 
    2018-03-19 23:37:13.743840630 +0100
@@ -1,0 +2,11 @@
+Thu Mar  8 15:48:29 UTC 2018 - tbecht...@suse.com
+
+- Update spec file based on upstream spec
+  * Switch to singlespec
+
+-------------------------------------------------------------------
+Fri Feb 23 13:08:51 UTC 2018 - tbecht...@suse.com
+
+- Switch to stable/queens spec template
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-manilaclient.spec ++++++
--- /var/tmp/diff_new_pack.ZpqidT/_old  2018-03-19 23:37:14.467814513 +0100
+++ /var/tmp/diff_new_pack.ZpqidT/_new  2018-03-19 23:37:14.471814369 +0100
@@ -22,18 +22,25 @@
 Summary:        Client Library for OpenStack Share API
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://launchpad.net/python-manilaclient
+URL:            https://launchpad.net/python-manilaclient
 Source0:        
https://files.pythonhosted.org/packages/source/p/python-manilaclient/python-manilaclient-1.21.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  openstack-tempest
-BuildRequires:  python-ddt >= 1.0.1
 BuildRequires:  python-devel
-BuildRequires:  python-fixtures >= 3.0.0
-BuildRequires:  python-mock >= 2.0.0
-BuildRequires:  python-openstackclient >= 3.12.0
-BuildRequires:  python-oslotest >= 3.2.0
-BuildRequires:  python-testrepository >= 0.0.18
-BuildRequires:  python-testtools >= 2.2.0
+BuildRequires:  python2-ddt >= 1.0.1
+BuildRequires:  python2-fixtures >= 3.0.0
+BuildRequires:  python2-mock >= 2.0.0
+BuildRequires:  python2-openstackclient >= 3.12.0
+BuildRequires:  python2-oslotest >= 3.2.0
+BuildRequires:  python2-testrepository >= 0.0.18
+BuildRequires:  python2-testtools >= 2.2.0
+BuildRequires:  python3-ddt >= 1.0.1
+BuildRequires:  python3-devel
+BuildRequires:  python3-fixtures >= 3.0.0
+BuildRequires:  python3-mock >= 2.0.0
+BuildRequires:  python3-openstackclient >= 3.12.0
+BuildRequires:  python3-oslotest >= 3.2.0
+BuildRequires:  python3-testrepository >= 0.0.18
+BuildRequires:  python3-testtools >= 2.2.0
 Requires:       python-Babel >= 2.3.4
 Requires:       python-PrettyTable >= 0.7.1
 Requires:       python-debtcollector >= 1.2.0
@@ -46,79 +53,80 @@
 Requires:       python-simplejson >= 3.5.1
 Requires:       python-six >= 1.10.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
 Client library and command line utility for interacting with Openstack
 Share API.
 
-%package doc
+%package -n python-manilaclient-doc
 Summary:        Documentation for OpenStack Share API Client
 Group:          Documentation/HTML
 BuildRequires:  python-Sphinx
-BuildRequires:  python-openstackdocstheme >= 1.17.0
+BuildRequires:  python-openstackdocstheme >= 1.18.1
 
-%description      doc
+%description -n python-manilaclient-doc
 Client library and command line utility for interacting with Openstack
 Share API.
 This package contains auto-generated documentation.
 
-%package test
-Summary:        Testsuite for OpenStack Share API Client
-Group:          Development/Languages/Python
-Requires:       %{name} = %{version}
-Requires:       openstack-tempest
-Requires:       python-ddt >= 1.0.1
-Requires:       python-fixtures >= 3.0.0
-Requires:       python-mock >= 2.0.0
-Requires:       python-openstackclient >= 3.12.0
-Requires:       python-oslotest >= 3.2.0
-Requires:       python-testrepository >= 0.0.18
-Requires:       python-testtools >= 2.2.0
-
-%description    test
-Client library and command line utility for interacting with Openstack
-Share API.
-This package contains the testsuite.
-
 %prep
 %autosetup -p1 -n python-manilaclient-1.21.0
 %py_req_cleanup
 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
 
 %build
-%{py2_build}
+%{python_build}
 
 %{__python2} setup.py build_sphinx --builder=html,man
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{py2_install}
+%{python_install}
 # man page
-install -p -D -m 644 doc/build/man/python-manilaclient.1 
%{buildroot}%{_mandir}/man1/python-manilaclient.1
+install -p -D -m 644 doc/build/man/python-manilaclient.1 
%{buildroot}%{_mandir}/man1/manila.1
 # bash completion
-install -p -D -m 644 tools/manila.bash_completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
-# handle the test subpackage
-%openstack_test_package_install manilaclient
+install -p -D -m 644 tools/manila.bash_completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/manila.bash_completion
+%python_clone -a %{buildroot}%{_bindir}/manila
+%python_clone -a %{buildroot}%{_mandir}/man1/manila.1
+%python_clone -a 
%{buildroot}%{_sysconfdir}/bash_completion.d/manila.bash_completion
+
+%post
+%{python_install_alternative manila manila.1 
%{_sysconfdir}/bash_completion.d/manila.bash_completion}
+
+%postun
+%python_uninstall_alternative manila
 
 %check
-%{__python2} setup.py testr
+%{python_expand rm -rf .testrepository
+export OS_TEST_PATH=./manilaclient/tests/unit/
+# we dont want to depend on Tempest so remove the relevant tests
+rm -f manilaclient/tests/unit/test_shell.py
+rm -f manilaclient/tests/unit/test_functional_utils.py
+rm -rf manilaclient/tests/functional
+$python setup.py testr
+}
 
-%files
+%files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python2_sitelib}/manilaclient
-%{python2_sitelib}/*.egg-info
-%{_sysconfdir}/bash_completion.d/%{name}
-%{_mandir}/man1/python-manilaclient.1.gz
-%{_bindir}/manila
+%{python_sitelib}/manilaclient
+%{python_sitelib}/*.egg-info
+%python_alternative %{_bindir}/manila
+%python_alternative %{_mandir}/man1/manila.1
+%python_alternative %{_sysconfdir}/bash_completion.d/manila.bash_completion
 
-%files doc
+%files -n python-manilaclient-doc
 %license LICENSE
 %doc doc/build/html
 
-%files test
-%license LICENSE
-%openstack_test_package_dir
-
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZpqidT/_old  2018-03-19 23:37:14.503813214 +0100
+++ /var/tmp/diff_new_pack.ZpqidT/_new  2018-03-19 23:37:14.503813214 +0100
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://git.openstack.org/cgit/openstack/rpm-packaging/plain/openstack/python-manilaclient/python-manilaclient.spec.j2?h=master</param>
+    <param 
name="input-template">https://git.openstack.org/cgit/openstack/rpm-packaging/plain/openstack/python-manilaclient/python-manilaclient.spec.j2?h=stable/queens</param>
     <param name="output-name">python-manilaclient.spec</param>
-    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
+    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param>
     <param name="changelog-email">cloud-de...@suse.de</param>
     <param name="changelog-provider">gh,openstack,python-manilaclient</param>
   </service>


Reply via email to