public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joel Capitao <jcapitao@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-oslo-concurrency] noevent: Sync from RDO ussuri release from python-oslo-concurrency-4.0.2-1.el8
Date: Sun, 07 Jun 2026 12:40:34 GMT [thread overview]
Message-ID: <178083603421.1.2315486259379797192.rpms-python-oslo-concurrency-5be41c4cfdcc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-oslo-concurrency
Branch : noevent
Commit : 5be41c4cfdcc1131cbf3ed4dde181672b69ce2fd
Author : Joel Capitao <jcapitao@redhat.com>
Date : 2020-06-03T14:36:02+02:00
Stats : +54/-74 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-oslo-concurrency/c/5be41c4cfdcc1131cbf3ed4dde181672b69ce2fd?branch=noevent
Log:
Sync from RDO ussuri release from python-oslo-concurrency-4.0.2-1.el8
---
diff --git a/.gitignore b/.gitignore
index bd7de9c..57428f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/oslo.concurrency-3.25.1.tar.gz
/oslo.concurrency-3.29.1.tar.gz
/oslo.concurrency-3.30.0.tar.gz
+/oslo.concurrency-4.0.2.tar.gz
diff --git a/python-oslo-concurrency.spec b/python-oslo-concurrency.spec
index 2f155a7..c75b6f1 100644
--- a/python-oslo-concurrency.spec
+++ b/python-oslo-concurrency.spec
@@ -1,14 +1,3 @@
-# Macros for py2/py3 compatibility
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global pyver %{python3_pkgversion}
-%else
-%global pyver 2
-%endif
-%global pyver_bin python%{pyver}
-%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
-%global pyver_install %{expand:%{py%{pyver}_install}}
-%global pyver_build %{expand:%{py%{pyver}_build}}
-# End of macros for py2/py3 compatibility
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
%global with_doc 1
@@ -25,8 +14,8 @@ external processes.
Tests for the Oslo concurrency library.
Name: python-oslo-concurrency
-Version: 3.30.0
-Release: 4%{?dist}
+Version: 4.0.2
+Release: 1%{?dist}
Summary: OpenStack Oslo concurrency library
License: ASL 2.0
@@ -37,43 +26,34 @@ BuildArch: noarch
%description
%{common_desc}
-%package -n python%{pyver}-%{pkg_name}
+%package -n python3-%{pkg_name}
Summary: OpenStack Oslo concurrency library
-%{?python_provide:%python_provide python%{pyver}-%{pkg_name}}
+%{?python_provide:%python_provide python3-%{pkg_name}}
-BuildRequires: python%{pyver}-devel
-BuildRequires: python%{pyver}-pbr
+BuildRequires: python3-devel
+BuildRequires: python3-pbr
BuildRequires: git
# Required for tests
-BuildRequires: python%{pyver}-hacking
-BuildRequires: python%{pyver}-oslotest
-BuildRequires: python%{pyver}-fixtures
-BuildRequires: python%{pyver}-eventlet
-BuildRequires: python%{pyver}-oslo-config
-BuildRequires: python%{pyver}-oslo-utils
-BuildRequires: python%{pyver}-fasteners
+BuildRequires: python3-hacking
+BuildRequires: python3-oslotest
+BuildRequires: python3-fixtures
+BuildRequires: python3-eventlet
+BuildRequires: python3-oslo-config
+BuildRequires: python3-oslo-utils
+BuildRequires: python3-fasteners
# Required to compile translation files
-BuildRequires: python%{pyver}-babel
-# Handle python2 exception
-%if %{pyver} == 2
-BuildRequires: python%{pyver}-futures
-BuildRequires: python-enum34
-%endif
+BuildRequires: python3-babel
-Requires: python%{pyver}-pbr
-Requires: python%{pyver}-oslo-config >= 2:5.2.0
-Requires: python%{pyver}-oslo-i18n >= 3.15.3
-Requires: python%{pyver}-oslo-utils >= 3.33.0
-Requires: python%{pyver}-six
-Requires: python%{pyver}-fasteners
-# Handle python2 exception
-%if %{pyver} == 2
-Requires: python-enum34
-%endif
+Requires: python3-pbr
+Requires: python3-oslo-config >= 2:5.2.0
+Requires: python3-oslo-i18n >= 3.15.3
+Requires: python3-oslo-utils >= 3.33.0
+Requires: python3-six
+Requires: python3-fasteners
Requires: python-%{pkg_name}-lang = %{version}-%{release}
-%description -n python%{pyver}-%{pkg_name}
+%description -n python3-%{pkg_name}
%{common_desc}
%if 0%{?with_doc}
@@ -81,29 +61,25 @@ Requires: python-%{pkg_name}-lang = %{version}-%{release}
%package -n python-%{pkg_name}-doc
Summary: Documentation for the Oslo concurrency library
Group: Documentation
-BuildRequires: python%{pyver}-sphinx
-BuildRequires: python%{pyver}-openstackdocstheme
-BuildRequires: python%{pyver}-sphinxcontrib-apidoc
+BuildRequires: python3-sphinx
+BuildRequires: python3-openstackdocstheme
+BuildRequires: python3-sphinxcontrib-apidoc
%description -n python-%{pkg_name}-doc
Documentation for the Oslo concurrency library.
%endif
-%package -n python%{pyver}-%{pkg_name}-tests
+%package -n python3-%{pkg_name}-tests
Summary: Tests for the Oslo concurrency library
-%{?python_provide:%python_provide python%{pyver}-%{pkg_name}-tests}
-
-Requires: python%{pyver}-%{pkg_name} = %{version}-%{release}
-Requires: python%{pyver}-hacking
-Requires: python%{pyver}-oslotest
-Requires: python%{pyver}-fixtures
-# Handle python2 exception
-%if %{pyver} == 2
-Requires: python%{pyver}-futures
-%endif
+%{?python_provide:%python_provide python3-%{pkg_name}-tests}
+
+Requires: python3-%{pkg_name} = %{version}-%{release}
+Requires: python3-hacking
+Requires: python3-oslotest
+Requires: python3-fixtures
-%description -n python%{pyver}-%{pkg_name}-tests
+%description -n python3-%{pkg_name}-tests
%{common_desc2}
%package -n python-%{pkg_name}-lang
@@ -118,43 +94,43 @@ Translation files for Oslo concurrency library
rm -rf {test-,}requirements.txt
%build
-%{pyver_build}
+%{py3_build}
# Generate i18n files
-%{pyver_bin} setup.py compile_catalog -d build/lib/oslo_concurrency/locale
+python3 setup.py compile_catalog -d build/lib/oslo_concurrency/locale
%if 0%{?with_doc}
# generate html docs
-%{pyver_bin} setup.py build_sphinx -b html
-# remove the sphinx-build-%{pyver} leftovers
+sphinx-build-3 -b html doc/source doc/build/html
+# remove the sphinx-build-3 leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%install
-%{pyver_install}
-ln -s ./lockutils-wrapper %{buildroot}%{_bindir}/lockutils-wrapper-%{pyver}
+%{py3_install}
+ln -s ./lockutils-wrapper %{buildroot}%{_bindir}/lockutils-wrapper-3
# Install i18n .mo files (.po and .pot are not required)
install -d -m 755 %{buildroot}%{_datadir}
-rm -f %{buildroot}%{pyver_sitelib}/oslo_concurrency/locale/*/LC_*/oslo_concurrency*po
-rm -f %{buildroot}%{pyver_sitelib}/oslo_concurrency/locale/*pot
-mv %{buildroot}%{pyver_sitelib}/oslo_concurrency/locale %{buildroot}%{_datadir}/locale
+rm -f %{buildroot}%{python3_sitelib}/oslo_concurrency/locale/*/LC_*/oslo_concurrency*po
+rm -f %{buildroot}%{python3_sitelib}/oslo_concurrency/locale/*pot
+mv %{buildroot}%{python3_sitelib}/oslo_concurrency/locale %{buildroot}%{_datadir}/locale
# Find language files
%find_lang oslo_concurrency --all-name
%check
export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0
-%{pyver_bin} setup.py test
+python3 setup.py test
-%files -n python%{pyver}-%{pkg_name}
+%files -n python3-%{pkg_name}
%doc README.rst
%license LICENSE
%{_bindir}/lockutils-wrapper
-%{_bindir}/lockutils-wrapper-%{pyver}
-%{pyver_sitelib}/oslo_concurrency
-%{pyver_sitelib}/*.egg-info
-%exclude %{pyver_sitelib}/oslo_concurrency/tests
+%{_bindir}/lockutils-wrapper-3
+%{python3_sitelib}/oslo_concurrency
+%{python3_sitelib}/*.egg-info
+%exclude %{python3_sitelib}/oslo_concurrency/tests
%if 0%{?with_doc}
%files -n python-%{pkg_name}-doc
@@ -162,13 +138,16 @@ export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0
%doc doc/build/html
%endif
-%files -n python%{pyver}-%{pkg_name}-tests
-%{pyver_sitelib}/oslo_concurrency/tests
+%files -n python3-%{pkg_name}-tests
+%{python3_sitelib}/oslo_concurrency/tests
%files -n python-%{pkg_name}-lang -f oslo_concurrency.lang
%license LICENSE
%changelog
+* Wed Jun 03 2020 Joel Capitao <jcapitao@redhat.com> 4.0.2-1
+- Update to upstream version 4.0.2
+
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.30.0-4
- Rebuilt for Python 3.9
diff --git a/sources b/sources
index 43a2f5f..54c85c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (oslo.concurrency-3.30.0.tar.gz) = f86a58c88afcefe24d1acd0a1a716598ef39e696cd46841bbd9ab2df16546118a61f8b28df234e8d383233b1a5b768efbca50bdd05591ce09d8e738c7f20cac6
+SHA512 (oslo.concurrency-4.0.2.tar.gz) = ca1ef615ebe986acac853666877061bbc7a02c09bec294ec6221ae4800a561cf9f218855f7eb8b96184d645924e5c68963b47116835c7d2495de83617439d1ef
reply other threads:[~2026-06-07 12:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178083603421.1.2315486259379797192.rpms-python-oslo-concurrency-5be41c4cfdcc@fedoraproject.org \
--to=jcapitao@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox