From 75e7a252f1f86fb86c55c2411f0c5e61f6482a19f25ace2576b4ecaa9300a2ea Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 Jan 2018 11:50:43 +0000 Subject: [PATCH] - update to version 3.24.0 - Imported Translations from Zanata - Remove setting of version/release from releasenotes - Remove -U from pip install - Updated from global requirements - Avoid tox_install.sh for constraints support OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.concurrency?expand=0&rev=33 --- oslo.concurrency-3.23.0.tar.gz | 3 - oslo.concurrency-3.24.0.tar.gz | 3 + python-oslo.concurrency.changes | 10 ++++ python-oslo.concurrency.spec | 100 +++++++++++++++++++++----------- 4 files changed, 79 insertions(+), 37 deletions(-) delete mode 100644 oslo.concurrency-3.23.0.tar.gz create mode 100644 oslo.concurrency-3.24.0.tar.gz diff --git a/oslo.concurrency-3.23.0.tar.gz b/oslo.concurrency-3.23.0.tar.gz deleted file mode 100644 index a140a31..0000000 --- a/oslo.concurrency-3.23.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e75ffe813b0b450c7b4aeb9c71c58592c93bb0f9efce4c592e1e2f6ab84991c -size 48209 diff --git a/oslo.concurrency-3.24.0.tar.gz b/oslo.concurrency-3.24.0.tar.gz new file mode 100644 index 0000000..97f0db2 --- /dev/null +++ b/oslo.concurrency-3.24.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e4617b235ac3ba3a13299b893668634048991d198c1c44e9a4543cf46251e88 +size 48455 diff --git a/python-oslo.concurrency.changes b/python-oslo.concurrency.changes index 38a9101..7732445 100644 --- a/python-oslo.concurrency.changes +++ b/python-oslo.concurrency.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jan 15 11:50:29 UTC 2018 - cloud-devel@suse.de + +- update to version 3.24.0 + - Imported Translations from Zanata + - Remove setting of version/release from releasenotes + - Remove -U from pip install + - Updated from global requirements + - Avoid tox_install.sh for constraints support + ------------------------------------------------------------------- Fri Nov 24 23:01:53 UTC 2017 - cloud-devel@suse.de diff --git a/python-oslo.concurrency.spec b/python-oslo.concurrency.spec index 6b8595e..1871cf2 100644 --- a/python-oslo.concurrency.spec +++ b/python-oslo.concurrency.spec @@ -17,63 +17,86 @@ Name: python-oslo.concurrency -Version: 3.23.0 +Version: 3.24.0 Release: 0 Summary: OpenStack oslo.concurrency library License: Apache-2.0 Group: Development/Languages/Python Url: https://launchpad.net/oslo.concurrency -Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concurrency-3.23.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concurrency-3.24.0.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python-enum34 -BuildRequires: python-eventlet >= 0.18.2 -BuildRequires: python-fasteners >= 0.7 -BuildRequires: python-fixtures >= 3.0.0 -BuildRequires: python-futures >= 3.0 -BuildRequires: python-mock >= 2.0 -BuildRequires: python-oslo.config >= 4.0.0 -BuildRequires: python-oslo.i18n >= 2.1.0 -BuildRequires: python-oslo.utils >= 3.20.0 -BuildRequires: python-oslotest >= 1.10.0 -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-testrepository >= 0.0.18 -BuildRequires: python-testscenarios >= 0.4 -BuildRequires: python-testtools >= 1.4.0 -Requires: python-enum34 -Requires: python-fasteners >= 0.7 +BuildRequires: python2-enum34 >= 1.0.4 +BuildRequires: python2-eventlet >= 0.18.2 +BuildRequires: python2-fasteners >= 0.7.0 +BuildRequires: python2-fixtures >= 3.0.0 +BuildRequires: python2-futures >= 3.0.0 +BuildRequires: python2-mock >= 2.0.0 +BuildRequires: python2-oslo.config >= 4.6.0 +BuildRequires: python2-oslo.i18n >= 3.15.3 +BuildRequires: python2-oslo.utils >= 3.31.0 +BuildRequires: python2-oslotest >= 1.10.0 +BuildRequires: python2-pbr >= 2.0.0 +BuildRequires: python2-testrepository >= 0.0.18 +BuildRequires: python2-testscenarios >= 0.4 +BuildRequires: python2-testtools >= 2.2.0 +BuildRequires: python3-eventlet >= 0.18.2 +BuildRequires: python3-fasteners >= 0.7.0 +BuildRequires: python3-fixtures >= 3.0.0 +BuildRequires: python3-mock >= 2.0.0 +BuildRequires: python3-oslo.config >= 4.6.0 +BuildRequires: python3-oslo.i18n >= 3.15.3 +BuildRequires: python3-oslo.utils >= 3.31.0 +BuildRequires: python3-oslotest >= 1.10.0 +BuildRequires: python3-pbr >= 2.0.0 +BuildRequires: python3-testrepository >= 0.0.18 +BuildRequires: python3-testscenarios >= 0.4 +BuildRequires: python3-testtools >= 2.2.0 +Requires: python-fasteners >= 0.7.0 Requires: python-iso8601 >= 0.1.11 -Requires: python-oslo.config >= 4.0.0 -Requires: python-oslo.i18n >= 2.1.0 -Requires: python-oslo.utils >= 3.20.0 +Requires: python-oslo.config >= 4.6.0 +Requires: python-oslo.i18n >= 3.15.3 +Requires: python-oslo.utils >= 3.31.0 Requires: python-retrying >= 1.2.3 -Requires: python-six >= 1.9.0 +Requires: python-six >= 1.10.0 BuildArch: noarch +%ifpython2 +Requires: python-enum34 >= 1.0.4 +%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 The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes. -%package doc +%package -n python-oslo.concurrency-doc Summary: Documentation for OpenStack concurrency library Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme >= 1.11.0 +BuildRequires: python-openstackdocstheme >= 1.17.0 -%description doc +%description -n python-oslo.concurrency-doc 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 -%autosetup -p1 -n oslo.concurrency-3.23.0 +%autosetup -p1 -n oslo.concurrency-3.24.0 %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build -%{py2_build} +%{python_build} # generate html docs %{__python2} setup.py build_sphinx @@ -81,23 +104,32 @@ sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg rm -rf doc/build/html/.{doctrees,buildinfo} %install -%{py2_install} +%{python_install} +%python_clone -a %{buildroot}%{_bindir}/lockutils-wrapper + +%post +%python_install_alternative lockutils-wrapper + +%postun +%python_uninstall_alternative lockutils-wrapper %check +%{python_expand rm -rf .testrepository # Test suite fails on 32 bit platforms # ifarch/ifnarch can not be used in noarch packages if [ "%_lib" = "lib64" ]; then -%{__python2} setup.py testr +$python setup.py testr fi +} -%files +%files %{python_files} %license LICENSE %doc README.rst ChangeLog -%_bindir/lockutils-wrapper -%{python2_sitelib}/oslo_concurrency -%{python2_sitelib}/*.egg-info +%python_alternative %{_bindir}/lockutils-wrapper +%{python_sitelib}/oslo_concurrency +%{python_sitelib}/*.egg-info -%files doc +%files -n python-oslo.concurrency-doc %license LICENSE %doc doc/build/html