public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-oslo-concurrency] noevent: Release 7.4.0
@ 2026-06-07 12:40 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-06-07 12:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-oslo-concurrency
Branch : noevent
Commit : 4df5f90b8a1dda7b7998619659d2febea9bef9f4
Author : Steve Traylen <steve.traylen@cern.ch>
Date   : 2026-04-01T18:04:08+02:00
Stats  : +55/-53 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-oslo-concurrency/c/4df5f90b8a1dda7b7998619659d2febea9bef9f4?branch=noevent

Log:
Release 7.4.0

---
diff --git a/.gitignore b/.gitignore
index 868e679..e070c69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,6 @@
 /0xf8675126e2411e7748dd46662fc2093e4682645f.txt
 /oslo.concurrency-6.1.0.tar.gz.asc
 /oslo.concurrency-6.1.0.tar.gz
+/0xb8e9315f48553ec5aff9ffe5e69d97da9efb5aff.txt
+/oslo_concurrency-7.4.0.tar.gz
+/oslo_concurrency-7.4.0.tar.gz.asc

diff --git a/python-oslo-concurrency.spec b/python-oslo-concurrency.spec
index 3802c9d..7f54aef 100644
--- a/python-oslo-concurrency.spec
+++ b/python-oslo-concurrency.spec
@@ -1,74 +1,64 @@
-%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} }
-%global sources_gpg_sign 0xf8675126e2411e7748dd46662fc2093e4682645f
-
-%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
-# we are excluding some BRs from automatic generator
-%global excluded_brs doc8 bandit pre-commit hacking flake8-import-order
-# Exclude sphinx from BRs if docs are disabled
-%if ! 0%{?with_doc}
-%global excluded_brs %{excluded_brs} sphinx openstackdocstheme
-%endif
-# Exclude some BRs for Fedora
-%if 0%{?fedora}
-%global excluded_brs %{excluded_brs} eventlet
-%endif
+%global sources_gpg 1
+%global sources_gpg_sign 0xb8e9315f48553ec5aff9ffe5e69d97da9efb5aff
+
 %global with_doc 1
 
 %global pypi_name oslo.concurrency
 %global pkg_name oslo-concurrency
 
-%global common_desc \
-Oslo concurrency library has utilities for safely running multi-thread, \
-multi-process applications using locking mechanisms and for running \
-external processes.
+%global common_desc %{expand:
+Oslo concurrency library has utilities for safely running multi-thread,
+multi-process applications using locking mechanisms and for running
+external processes.}
 
-%global common_desc2 \
-Tests for the Oslo concurrency library.
+%global common_desc2 %{expand:
+Tests for the Oslo concurrency library.}
 
 Name:           python-oslo-concurrency
-Version:        6.1.0
+Version:        7.4.0
 Release:        %autorelease
 Summary:        OpenStack Oslo concurrency library
 
 License:        Apache-2.0
 URL:            https://launchpad.net/oslo
-Source0:        https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz
+Source0:        https://tarballs.openstack.org/%{pypi_name}/oslo_concurrency-%{version}.tar.gz
 # Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
-Source101:        https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz.asc
+Source101:        https://tarballs.openstack.org/%{pypi_name}/oslo_concurrency-%{version}.tar.gz.asc
 Source102:        https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
 %endif
 BuildArch:      noarch
 
+BuildRequires:  python3-devel
+BuildRequires:  git-core
 # Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
 BuildRequires:  /usr/bin/gpgv2
 %endif
 
+
 %description
 %{common_desc}
 
+
 %package -n python3-%{pkg_name}
 Summary:        OpenStack Oslo concurrency library
-
-BuildRequires:  python3-devel
-BuildRequires:  git-core
-BuildRequires:  pyproject-rpm-macros
 Requires:       python-%{pkg_name}-lang = %{version}-%{release}
 
+
 %description -n python3-%{pkg_name}
 %{common_desc}
 
-%if 0%{?with_doc}
 
+%if 0%{?with_doc}
 %package  -n python-%{pkg_name}-doc
 Summary:    Documentation for the Oslo concurrency library
 Group:      Documentation
 %description -n python-%{pkg_name}-doc
 Documentation for the Oslo concurrency library.
-
 %endif
 
+
 %package  -n python3-%{pkg_name}-tests
 Summary:    Tests for the Oslo concurrency library
 
@@ -78,47 +68,49 @@ Requires:  python3-oslotest
 Requires:  python3-fixtures
 Requires:  python3-stestr
 
+
 %description -n python3-%{pkg_name}-tests
 %{common_desc2}
 
+
 %package  -n python-%{pkg_name}-lang
 Summary:   Translation files for Oslo concurrency library
 
+
 %description -n python-%{pkg_name}-lang
 Translation files for Oslo concurrency library
 
+
 %prep
 # Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
 %{gpgverify}  --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0}
 %endif
-%autosetup -n %{pypi_name}-%{upstream_version} -S git
+%autosetup -n oslo_concurrency-%{version} -S git
 
 sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
-sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
-sed -i /^minversion.*/d tox.ini
-sed -i /^requires.*virtualenv.*/d tox.ini
+#sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
+#sed -i /^minversion.*/d tox.ini
+#sed -i /^requires.*virtualenv.*/d tox.ini
 %if 0%{?fedora}
 sed -i "s/TEST_EVENTLET=.*/TEST_EVENTLET=1/" tox.ini
 %endif
 
-# Exclude some bad-known BRs
-for pkg in %{excluded_brs}; do
-  for reqfile in doc/requirements.txt test-requirements.txt; do
-    if [ -f $reqfile ]; then
-      sed -i /^${pkg}.*/d $reqfile
-    fi
-  done
-done
 
-# Automatic BR generation
+sed -i \
+    -e "/^coverage[[:space:]]*[!><=]/d" \
+    -e "/^reno[[:space:]]*[!><=]/d" \
+    test-requirements.txt doc/requirements.txt
+
+
 %generate_buildrequires
 %if 0%{?with_doc}
-  %pyproject_buildrequires -t -e %{default_toxenv},docs
+%pyproject_buildrequires -t -e %{default_toxenv},docs
 %else
-  %pyproject_buildrequires -t -e %{default_toxenv}
+%pyproject_buildrequires -t -e %{default_toxenv}
 %endif
 
+
 %build
 %pyproject_wheel
 
@@ -126,6 +118,8 @@ done
 %install
 %pyproject_install
 
+%pyproject_save_files -l oslo_concurrency
+
 # Generate i18n files
 python3 setup.py compile_catalog -d %{buildroot}%{python3_sitelib}/oslo_concurrency/locale --domain oslo_concurrency
 
@@ -137,38 +131,43 @@ PYTHONPATH="%{buildroot}/%{python3_sitelib}"
 rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
-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}%{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
+sed -i \
+    -e' \|%{python3_sitelib}/oslo_concurrency/locale$|d' \
+    -e '\|%{python3_sitelib}/oslo_concurrency/locale/|d' \
+    %{pyproject_files}
+
 
 # Find language files
 %find_lang oslo_concurrency --all-name
 
+
 %check
 %tox -e %{default_toxenv}
 
-%files -n python3-%{pkg_name}
+
+%files -n python3-%{pkg_name} -f %{pyproject_files}
 %doc README.rst
 %license LICENSE
 %{_bindir}/lockutils-wrapper
-%{_bindir}/lockutils-wrapper-3
-%{python3_sitelib}/oslo_concurrency
-%{python3_sitelib}/*.dist-info
 %exclude %{python3_sitelib}/oslo_concurrency/tests
 
+
 %if 0%{?with_doc}
 %files -n python-%{pkg_name}-doc
 %license LICENSE
 %doc doc/build/html
 %endif
 
+
 %files -n python3-%{pkg_name}-tests
 %{python3_sitelib}/oslo_concurrency/tests
 
+
 %files -n python-%{pkg_name}-lang -f oslo_concurrency.lang
 %license LICENSE
 

diff --git a/sources b/sources
index 35c8d23..5fe8053 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (0xf8675126e2411e7748dd46662fc2093e4682645f.txt) = 1e9471d80d44bb3570b8054e845583b4c06f7177dc4fa8a5907e6185806ce794a594bf42d5c336ee20004a58e53748f275b749816e75f4cc3b9fecb8075ccbdf
-SHA512 (oslo.concurrency-6.1.0.tar.gz.asc) = 46a8d0174a7f55f35eb1b15fc4397941158536e9f67fd5e302563d59601ce1c69f24eb17db5d7b5709dae7ccd7eb3ad1229e927ea23059cd8d586868ab39ecfd
-SHA512 (oslo.concurrency-6.1.0.tar.gz) = dfee864dae2f69d5e1ae32213bf09bffdd492131a04ba3df9ec9c9a793f2b1b6f4cae809977bf732bb310009116d762768adac4946afcfef49bd8dc993eee777
+SHA512 (0xb8e9315f48553ec5aff9ffe5e69d97da9efb5aff.txt) = 0b92cb980baab073ca49f66f0dbc2c3a939c677b00351dd693063520e9788e2c753c8ee3a8960b953acc2ef77c0150d1da76fe1a9d3b65f57fa1167628885788
+SHA512 (oslo_concurrency-7.4.0.tar.gz) = e42e22e5d88e1f7b1e7331dea72c006389e9b2c2dc767f1373f5105d2f80aff6b1c9130eef185adb42aee6588ec65235313618212d7bdac84b1d5d76d48f4ba3
+SHA512 (oslo_concurrency-7.4.0.tar.gz.asc) = 6c57209a8d2dbd815c688e4263dc03ead682f831207dc524e5e913960408c1c6f54b63b3a2397cdc103671bcc1308648418147e80aa8b309b5f7e3e6160434fe

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-07 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 12:40 [rpms/python-oslo-concurrency] noevent: Release 7.4.0 Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox