commit python-swiftclient for openSUSE:Factory
Hello community, here is the log from the commit of package python-swiftclient for openSUSE:Factory checked in at 2016-09-30 15:30:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-swiftclient (Old) and /work/SRC/openSUSE:Factory/.python-swiftclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-swiftclient" Changes: -------- --- /work/SRC/openSUSE:Factory/python-swiftclient/python-swiftclient.changes 2016-05-19 12:14:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-swiftclient.new/python-swiftclient.changes 2016-09-30 15:30:29.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 1 18:54:54 UTC 2016 - tbechtold@suse.com + +- update _service and switch to upstream spec file + +------------------------------------------------------------------- Old: ---- python-swiftclient-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-swiftclient.spec ++++++ --- /var/tmp/diff_new_pack.E65giX/_old 2016-09-30 15:30:32.000000000 +0200 +++ /var/tmp/diff_new_pack.E65giX/_new 2016-09-30 15:30:32.000000000 +0200 @@ -16,97 +16,70 @@ # -%define component swiftclient -%define version_unconverted 3.0.0 - -Name: python-%{component} +%global sname python-swiftclient +Name: python-swiftclient Version: 3.0.0 Release: 0 -Summary: Openstack Object Storage (Swift) API Client +Summary: OpenStack Object Storage API Client Library License: Apache-2.0 Group: Development/Languages/Python -Url: http://launchpad.net/python-swiftclient -Source: https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-%{version}.tar.gz -Source99: %{name}-rpmlintrc -BuildRequires: openstack-suse-macros -BuildRequires: python -BuildRequires: python-pbr -BuildRequires: python-requests -BuildRequires: python-setuptools -BuildRequires: python-six -# Packages below are only needed for documentation build -BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx -Requires: python >= 2.6.8 -Requires: python-futures >= 2.1.3 -Requires: python-requests >= 1.1 -Requires: python-six >= 1.5.2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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()")} -%py_requires -%else +Url: https://launchpad.net/%{sname} +Source: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz +BuildRequires: openstack-macros +BuildRequires: python-devel +BuildRequires: python-keystoneclient >= 1.7.0 +BuildRequires: python-mock >= 1.2 +BuildRequires: python-pbr >= 1.6 +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.10.0 +Requires: python-six >= 1.9.0 BuildArch: noarch -%endif %description This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift). -This code is based on original the client previously included with -OpenStack's swift. - %package doc -Summary: Openstack Object Storage (Swift) API Client - Documentation +Summary: %{summary} - Documentation Group: Documentation/HTML +BuildRequires: python-Sphinx +BuildRequires: python-futures >= 3.0 +BuildRequires: python-oslosphinx >= 2.5.0 Requires: %{name} = %{version} %description doc -This package contains documentation files for %{name}. - -%package test -Summary: Openstack Object Storage (Swift) API Client - Testsuite -Group: System/Management -Requires: %{name} = %{version} -Requires: python-keystoneclient >= 0.7.0 -Requires: python-mock >= 1.2 -Requires: python-testrepository >= 0.0.18 +This is a python client for the Swift API. There's a Python API (the +swiftclient module), and a command-line script (swift). -%description test -This package contains testsuite files for %{name}. +This package contains documentation files for %{name}. %prep -%setup -q -%openstack_cleanup_prep +%setup -q -n %{sname}-%{version} %build -python setup.py build -python setup.py build_sphinx -rm doc/build/html/.buildinfo +%py2_build +%{__python2} setup.py build_sphinx +rm -rf doc/build/html/.{doctrees,buildinfo} %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -install -d %{buildroot}%{_mandir}/man1 -install -m 644 doc/manpages/swift.1 %{buildroot}%{_mandir}/man1 +%py2_install -# test package -%openstack_test_package_install +%check +%{__python2} setup.py testr %files -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc ChangeLog README.rst %{_bindir}/swift -%{python_sitelib}/%{component}/ -%{python_sitelib}/python_%{component}-*.egg-info -%{_mandir}/man1/swift.1* +%{python2_sitelib}/swiftclient +%{python2_sitelib}/*.egg-info %files doc -%defattr(-,root,root,-) -%doc LICENSE doc/build/html - -%files test -%defattr(-,root,root,-) -%{_localstatedir}/lib/%{name}-test +%license LICENSE +%doc doc/build/html +%{_mandir}/man1/swift.1* %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.E65giX/_old 2016-09-30 15:30:32.000000000 +0200 +++ /var/tmp/diff_new_pack.E65giX/_new 2016-09-30 15:30:32.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/p...</param> + <param name="output-name">python-swiftclient.spec</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requ...</param> + </service> <service mode="disabled" name="download_files"> - <param name="changeslinesmax">200</param> <param name="changesgenerate">enable</param> </service> - <service mode="disabled" name="set_version"> - <param name="basename">python-swiftclient</param> - </service> - <service mode="disabled" name="python_requires"> - </service> <service name="refresh_patches" mode="disabled"> <param name="changesgenerate">enable</param> </service> -</services> +</services> \ No newline at end of file
participants (1)
-
root@hilbert.suse.de