From fb46832bb973812dbac060722ae4b285eb001ac855a642cabefa91513e0f3a1a Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 2 Jun 2016 08:57:20 +0000 Subject: [PATCH] - use renderspec source service - update spec from upstream OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.concurrency?expand=0&rev=18 --- _service | 12 ++--- python-oslo.concurrency.changes | 6 +++ python-oslo.concurrency.spec | 84 ++++++++++++++++----------------- 3 files changed, 52 insertions(+), 50 deletions(-) diff --git a/_service b/_service index 71b3382..0e465cf 100644 --- a/_service +++ b/_service @@ -1,15 +1,13 @@ + + https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.concurrency/oslo.concurrency.spec.j2 + python-oslo.concurrency.spec + https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt + enable - - oslo.concurrency - - - enable - - diff --git a/python-oslo.concurrency.changes b/python-oslo.concurrency.changes index 511c3cc..33b5350 100644 --- a/python-oslo.concurrency.changes +++ b/python-oslo.concurrency.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 2 08:55:41 UTC 2016 - tbechtold@suse.com + +- use renderspec source service +- update spec from upstream + ------------------------------------------------------------------- Mon Apr 4 11:19:26 UTC 2016 - tbechtold@suse.com diff --git a/python-oslo.concurrency.spec b/python-oslo.concurrency.spec index 7c2c23d..7ef3e39 100644 --- a/python-oslo.concurrency.spec +++ b/python-oslo.concurrency.spec @@ -16,87 +16,85 @@ # -%define version_unconverted 3.7.0 - +%global sname oslo.concurrency Name: python-oslo.concurrency Version: 3.7.0 Release: 0 -Summary: OpenStack Oslo concurrency library +Summary: OpenStack oslo.concurrency library License: Apache-2.0 Group: Development/Languages/Python -Url: http://launchpad.net/oslo -Source: https://pypi.python.org/packages/source/o/oslo.concurrency/oslo.concurrency-%{version}.tar.gz -BuildRequires: openstack-suse-macros +Url: https://launchpad.net/%{sname} +Source0: https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz +BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python-enum34 -BuildRequires: python-eventlet -BuildRequires: python-fasteners -BuildRequires: python-fixtures -BuildRequires: python-futures -BuildRequires: python-mock -BuildRequires: python-oslo.config -BuildRequires: python-oslo.utils -BuildRequires: python-oslosphinx -BuildRequires: python-oslotest -BuildRequires: python-pbr -BuildRequires: python-retrying -BuildRequires: python-setuptools -BuildRequires: python-sphinx -BuildRequires: python-testrepository -Requires: python-Babel >= 1.3 +BuildRequires: python-eventlet >= 0.18.2 +BuildRequires: python-fasteners >= 0.7 +BuildRequires: python-fixtures >= 1.3.1 +BuildRequires: python-futures >= 3.0 +BuildRequires: python-mock >= 2.0 +BuildRequires: python-oslo.config >= 3.9.0 +BuildRequires: python-oslo.i18n >= 2.1.0 +BuildRequires: python-oslo.utils >= 3.11.0 +BuildRequires: python-oslotest >= 1.10.0 +BuildRequires: python-pbr >= 1.6 +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-enum34 Requires: python-fasteners >= 0.7 -Requires: python-iso8601 >= 0.1.9 -Requires: python-oslo.config >= 3.7.0 +Requires: python-iso8601 >= 0.1.11 +Requires: python-oslo.config >= 3.9.0 Requires: python-oslo.i18n >= 2.1.0 -Requires: python-oslo.utils >= 3.5.0 +Requires: python-oslo.utils >= 3.11.0 Requires: python-retrying >= 1.2.3 Requires: python-six >= 1.9.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description -Oslo concurrency library has utilities for safely running multi-thread, +The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes. %package doc -Summary: Documentation for the Oslo concurrency library -Group: Documentation - +Summary: Documentation for OpenStack concurrency library +Group: Development/Languages/Python +BuildRequires: python-Sphinx BuildRequires: python-oslosphinx >= 2.5.0 -BuildRequires: python-sphinx %description doc -Documentation for the Oslo concurrency library. +The oslo.concurrency library has utilities for safely running multi-thread, +multi-process applications using locking mechanisms and for running +external processes. +This package contains the documentation. %prep -%setup -q -n oslo.concurrency-%{version} +%setup -q -n %{sname}-%{version} %build %{__python2} setup.py build # generate html docs -sphinx-build doc/source html +%{__python2} setup.py build_sphinx # remove the sphinx-build leftovers -rm -rf html/.{doctrees,buildinfo} +rm -rf doc/build/html/.{doctrees,buildinfo} %install -%{__python2} setup.py install --skip-build --root %{buildroot} +%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -%if "%_lib" == "lib64" -testr init -testr run --parallel -%endif +%{__python2} setup.py testr %files -%defattr(-,root,root,-) -%doc README.rst ChangeLog LICENSE AUTHORS -%{python2_sitelib}/* +%license LICENSE +%doc README.rst ChangeLog %_bindir/lockutils-wrapper +%{python2_sitelib}/oslo_concurrency +%{python2_sitelib}/*.egg-info %files doc -%doc html +%license LICENSE +%doc doc/build/html %changelog