Hello community,

here is the log from the commit of package python-swiftclient for 
openSUSE:Factory checked in at 2018-01-24 15:28:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-swiftclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-swiftclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-swiftclient"

Wed Jan 24 15:28:22 2018 rev:23 rq:567542 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-swiftclient/python-swiftclient.changes    
2017-08-28 15:32:10.414157545 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-swiftclient.new/python-swiftclient.changes   
    2018-01-24 15:28:24.352251080 +0100
@@ -1,0 +2,5 @@
+Fri Jan 19 05:53:56 UTC 2018 - tbecht...@suse.com
+
+- Convert to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-swiftclient.spec ++++++
--- /var/tmp/diff_new_pack.FX7yIc/_old  2018-01-24 15:28:25.264208426 +0100
+++ /var/tmp/diff_new_pack.FX7yIc/_new  2018-01-24 15:28:25.268208239 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-swiftclient
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,71 +16,98 @@
 #
 
 
-%global sname python-swiftclient
 Name:           python-swiftclient
 Version:        3.4.0
 Release:        0
 Summary:        OpenStack Object Storage API Client Library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://launchpad.net/%{sname}
-Source0:        
https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz
+Url:            https://launchpad.net/python-swiftclient
+Source0:        
https://files.pythonhosted.org/packages/source/p/python-swiftclient/python-swiftclient-3.4.0.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python-devel
-BuildRequires:  python-keystoneclient >= 3.8.0
-BuildRequires:  python-mock >= 2.0
-BuildRequires:  python-pbr >= 2.0.0
-BuildRequires:  python-setuptools >= 16.0
-BuildRequires:  python-testrepository >= 0.0.18
-BuildRequires:  python-testscenarios >= 0.4
-Requires:       python-futures >= 3.0
-Requires:       python-requests >= 2.14.2
-Requires:       python-six >= 1.9.0
+BuildRequires:  python2-keystoneclient
+BuildRequires:  python2-mock
+BuildRequires:  python2-pbr
+BuildRequires:  python2-setuptools
+BuildRequires:  python2-testrepository
+BuildRequires:  python2-testscenarios
+BuildRequires:  python3-devel
+BuildRequires:  python3-keystoneclient
+BuildRequires:  python3-mock
+BuildRequires:  python3-pbr
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-testrepository
+BuildRequires:  python3-testscenarios
+Requires:       python-requests
+Requires:       python-six
 BuildArch:      noarch
+%ifpython2
+Requires:       python-futures
+%endif
+%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
 This is a python client for the Swift API. There's a Python API (the
 swiftclient module), and a command-line script (swift).
 
-%package doc
+%package -n python-swiftclient-doc
 Summary:        %{summary} - Documentation
 Group:          Documentation/HTML
 BuildRequires:  python-Sphinx
-BuildRequires:  python-futures >= 3.0
-BuildRequires:  python-oslosphinx >= 4.7.0
+BuildRequires:  python-futures
+BuildRequires:  python-oslosphinx
 Requires:       %{name} = %{version}
 
-%description doc
+%description -n python-swiftclient-doc
 This is a python client for the Swift API. There's a Python API (the
 swiftclient module), and a command-line script (swift).
 
 This package contains documentation files for %{name}.
 
 %prep
-%autosetup -n %{sname}-%{version}
+%autosetup -p1 -n python-swiftclient-3.4.0
 %py_req_cleanup
 
 %build
-%py2_build
+%{python_build}
 %{__python2} setup.py build_sphinx
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%py2_install
+%{python_install}
+%python_clone -a %{buildroot}%{_bindir}/swift
+%python_clone -a %{buildroot}%{_mandir}/man1/swift.1
+
+%post
+%{python_install_alternative swift swift.1}
+
+%postun
+%python_uninstall_alternative swift
 
 %check
-%{__python2} setup.py testr
+%{python_expand rm -rf .testrepository
+$python setup.py testr
+}
 
-%files
+%files %{python_files}
 %license LICENSE
 %doc ChangeLog README.rst
-%{_bindir}/swift
-%{python2_sitelib}/swiftclient
-%{python2_sitelib}/*.egg-info
+%{python_sitelib}/swiftclient
+%{python_sitelib}/*.egg-info
+%python_alternative %{_bindir}/swift
+%python_alternative %{_mandir}/man1/swift.1
 
-%files doc
+%files -n python-swiftclient-doc
 %license LICENSE
 %doc doc/build/html
-%{_mandir}/man1/swift.1*
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.FX7yIc/_old  2018-01-24 15:28:25.300206743 +0100
+++ /var/tmp/diff_new_pack.FX7yIc/_new  2018-01-24 15:28:25.300206743 +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/python-swiftclient/python-swiftclient.spec.j2</param>
+    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/python-swiftclient/python-swiftclient.spec.j2</param>
     <param name="output-name">python-swiftclient.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/global-requirements.txt</param>
     <param name="changelog-email">cloud-de...@suse.de</param>
     <param name="changelog-provider">gh,openstack,python-swiftclient</param>
   </service>


Reply via email to