- 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
This commit is contained in:
Dirk Mueller 2018-01-15 11:50:43 +00:00 committed by Git OBS Bridge
parent a95e8a4d99
commit 75e7a252f1
4 changed files with 79 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e75ffe813b0b450c7b4aeb9c71c58592c93bb0f9efce4c592e1e2f6ab84991c
size 48209

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e4617b235ac3ba3a13299b893668634048991d198c1c44e9a4543cf46251e88
size 48455

View File

@ -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 Fri Nov 24 23:01:53 UTC 2017 - cloud-devel@suse.de

View File

@ -17,63 +17,86 @@
Name: python-oslo.concurrency Name: python-oslo.concurrency
Version: 3.23.0 Version: 3.24.0
Release: 0 Release: 0
Summary: OpenStack oslo.concurrency library Summary: OpenStack oslo.concurrency library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://launchpad.net/oslo.concurrency 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: openstack-macros
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-enum34 BuildRequires: python2-enum34 >= 1.0.4
BuildRequires: python-eventlet >= 0.18.2 BuildRequires: python2-eventlet >= 0.18.2
BuildRequires: python-fasteners >= 0.7 BuildRequires: python2-fasteners >= 0.7.0
BuildRequires: python-fixtures >= 3.0.0 BuildRequires: python2-fixtures >= 3.0.0
BuildRequires: python-futures >= 3.0 BuildRequires: python2-futures >= 3.0.0
BuildRequires: python-mock >= 2.0 BuildRequires: python2-mock >= 2.0.0
BuildRequires: python-oslo.config >= 4.0.0 BuildRequires: python2-oslo.config >= 4.6.0
BuildRequires: python-oslo.i18n >= 2.1.0 BuildRequires: python2-oslo.i18n >= 3.15.3
BuildRequires: python-oslo.utils >= 3.20.0 BuildRequires: python2-oslo.utils >= 3.31.0
BuildRequires: python-oslotest >= 1.10.0 BuildRequires: python2-oslotest >= 1.10.0
BuildRequires: python-pbr >= 2.0.0 BuildRequires: python2-pbr >= 2.0.0
BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python2-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4 BuildRequires: python2-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0 BuildRequires: python2-testtools >= 2.2.0
Requires: python-enum34 BuildRequires: python3-eventlet >= 0.18.2
Requires: python-fasteners >= 0.7 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-iso8601 >= 0.1.11
Requires: python-oslo.config >= 4.0.0 Requires: python-oslo.config >= 4.6.0
Requires: python-oslo.i18n >= 2.1.0 Requires: python-oslo.i18n >= 3.15.3
Requires: python-oslo.utils >= 3.20.0 Requires: python-oslo.utils >= 3.31.0
Requires: python-retrying >= 1.2.3 Requires: python-retrying >= 1.2.3
Requires: python-six >= 1.9.0 Requires: python-six >= 1.10.0
BuildArch: noarch 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 %description
The 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 multi-process applications using locking mechanisms and for running
external processes. external processes.
%package doc %package -n python-oslo.concurrency-doc
Summary: Documentation for OpenStack concurrency library Summary: Documentation for OpenStack concurrency library
Group: Development/Languages/Python Group: Development/Languages/Python
BuildRequires: python-Sphinx 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, The oslo.concurrency library has utilities for safely running multi-thread,
multi-process applications using locking mechanisms and for running multi-process applications using locking mechanisms and for running
external processes. external processes.
This package contains the documentation. This package contains the documentation.
%prep %prep
%autosetup -p1 -n oslo.concurrency-3.23.0 %autosetup -p1 -n oslo.concurrency-3.24.0
%py_req_cleanup %py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build %build
%{py2_build} %{python_build}
# generate html docs # generate html docs
%{__python2} setup.py build_sphinx %{__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} rm -rf doc/build/html/.{doctrees,buildinfo}
%install %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 %check
%{python_expand rm -rf .testrepository
# Test suite fails on 32 bit platforms # Test suite fails on 32 bit platforms
# ifarch/ifnarch can not be used in noarch packages # ifarch/ifnarch can not be used in noarch packages
if [ "%_lib" = "lib64" ]; then if [ "%_lib" = "lib64" ]; then
%{__python2} setup.py testr $python setup.py testr
fi fi
}
%files %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst ChangeLog %doc README.rst ChangeLog
%_bindir/lockutils-wrapper %python_alternative %{_bindir}/lockutils-wrapper
%{python2_sitelib}/oslo_concurrency %{python_sitelib}/oslo_concurrency
%{python2_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%files doc %files -n python-oslo.concurrency-doc
%license LICENSE %license LICENSE
%doc doc/build/html %doc doc/build/html