2015-08-27 06:55:11 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-oslo.concurrency
|
|
|
|
#
|
2022-05-24 21:18:59 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2015-08-27 06:55:11 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-08 12:58:12 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-27 06:55:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-oslo.concurrency
|
2022-05-24 21:18:59 +00:00
|
|
|
Version: 4.5.1
|
2015-08-27 06:55:11 +00:00
|
|
|
Release: 0
|
2016-06-02 08:57:20 +00:00
|
|
|
Summary: OpenStack oslo.concurrency library
|
2015-08-27 06:55:11 +00:00
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Python
|
2022-05-24 21:18:59 +00:00
|
|
|
URL: https://docs.openstack.org/oslo.concurrency
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concurrency-4.5.1.tar.gz
|
2016-06-02 08:57:20 +00:00
|
|
|
BuildRequires: openstack-macros
|
2018-09-01 08:57:19 +00:00
|
|
|
BuildRequires: python3-eventlet
|
2018-01-15 11:50:43 +00:00
|
|
|
BuildRequires: python3-fasteners >= 0.7.0
|
2018-09-01 08:57:19 +00:00
|
|
|
BuildRequires: python3-fixtures
|
|
|
|
BuildRequires: python3-oslo.config >= 5.2.0
|
2018-01-15 11:50:43 +00:00
|
|
|
BuildRequires: python3-oslo.i18n >= 3.15.3
|
2018-02-13 13:39:32 +00:00
|
|
|
BuildRequires: python3-oslo.utils >= 3.33.0
|
2018-09-01 08:57:19 +00:00
|
|
|
BuildRequires: python3-oslotest
|
2018-01-15 11:50:43 +00:00
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
2019-04-08 12:58:12 +00:00
|
|
|
BuildRequires: python3-stestr
|
2018-09-01 08:57:19 +00:00
|
|
|
BuildRequires: python3-testscenarios
|
|
|
|
BuildRequires: python3-testtools
|
2015-08-27 06:55:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2016-06-02 08:57:20 +00:00
|
|
|
The oslo.concurrency library has utilities for safely running multi-thread,
|
2015-08-27 06:55:11 +00:00
|
|
|
multi-process applications using locking mechanisms and for running
|
|
|
|
external processes.
|
|
|
|
|
2020-03-14 12:04:33 +00:00
|
|
|
%package -n python3-oslo.concurrency
|
|
|
|
Summary: OpenStack oslo.concurrency library
|
|
|
|
Requires: python3-fasteners >= 0.7.0
|
|
|
|
Requires: python3-oslo.config >= 5.2.0
|
|
|
|
Requires: python3-oslo.i18n >= 3.15.3
|
|
|
|
Requires: python3-oslo.utils >= 3.33.0
|
2020-03-23 12:17:22 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
Obsoletes: python2-oslo.concurrency < 4.0.0
|
|
|
|
%endif
|
2020-03-14 12:04:33 +00:00
|
|
|
|
|
|
|
%description -n python3-oslo.concurrency
|
|
|
|
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 Python 3.x module.
|
|
|
|
|
2018-01-15 11:50:43 +00:00
|
|
|
%package -n python-oslo.concurrency-doc
|
2016-06-02 08:57:20 +00:00
|
|
|
Summary: Documentation for OpenStack concurrency library
|
2019-10-09 12:25:26 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
|
|
|
BuildRequires: python3-openstackdocstheme
|
|
|
|
BuildRequires: python3-sphinxcontrib-apidoc
|
2015-08-27 06:55:11 +00:00
|
|
|
|
2018-01-15 11:50:43 +00:00
|
|
|
%description -n python-oslo.concurrency-doc
|
2016-06-02 08:57:20 +00:00
|
|
|
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.
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
%prep
|
2022-05-24 21:18:59 +00:00
|
|
|
%autosetup -p1 -n oslo.concurrency-4.5.1
|
2017-02-13 09:04:18 +00:00
|
|
|
%py_req_cleanup
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
%build
|
2020-03-14 12:04:33 +00:00
|
|
|
%{py3_build}
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
# generate html docs
|
2019-10-09 12:25:26 +00:00
|
|
|
PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
|
2015-08-27 06:55:11 +00:00
|
|
|
# remove the sphinx-build leftovers
|
2016-06-02 08:57:20 +00:00
|
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-14 12:04:33 +00:00
|
|
|
%{py3_install}
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
%check
|
2020-03-14 12:04:33 +00:00
|
|
|
python3 -m stestr.cli run
|
2015-08-27 06:55:11 +00:00
|
|
|
|
2020-03-14 12:04:33 +00:00
|
|
|
%files -n python3-oslo.concurrency
|
2016-06-02 08:57:20 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst ChangeLog
|
2020-03-14 12:04:33 +00:00
|
|
|
%{_bindir}/lockutils-wrapper
|
|
|
|
%{python3_sitelib}/oslo_concurrency
|
|
|
|
%{python3_sitelib}/*.egg-info
|
2015-08-27 06:55:11 +00:00
|
|
|
|
2018-01-15 11:50:43 +00:00
|
|
|
%files -n python-oslo.concurrency-doc
|
2016-06-02 08:57:20 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc doc/build/html
|
2015-08-27 06:55:11 +00:00
|
|
|
|
|
|
|
%changelog
|