public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tubes] epel10: Fix compatibility with the latest setuptools
@ 2026-10-05 22:09 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-10-05 22:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-tubes
            Branch : epel10
            Commit : 856cfffe197124edce1dfd71fba8e9082095e808
            Author : Lumir Balhar <lbalhar@redhat.com>
            Date   : 2025-03-14T12:40:41+01:00
            Stats  : +6/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tubes/c/856cfffe197124edce1dfd71fba8e9082095e808?branch=epel10

            Log:
            Fix compatibility with the latest setuptools

New setuptools produces normalized dist-info directories.
The new macros can handle the differences.

---
diff --git a/python-tubes.spec b/python-tubes.spec
index 936c82b..22d0d5e 100644
--- a/python-tubes.spec
+++ b/python-tubes.spec
@@ -5,7 +5,7 @@
 
 Name:           python-%{pypi_name}
 Version:        0.2.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Flow control and backpressure for event-driven applications
 
 License:        MIT
@@ -45,19 +45,21 @@ sed -e '/"characteristic",/d' -i setup.py
 
 %install
 %pyproject_install
+%pyproject_save_files %{pypi_name}
 
 %if %{with check}
 %check
 %tox
 %endif
 
-%files -n python3-%{pypi_name}
+%files -n python3-%{pypi_name} -f %{pyproject_files}
 %doc README.rst
 %license LICENSE
-%{python3_sitelib}/%{pypi_name}/
-%{python3_sitelib}/Tubes-%{version}.dist-info/
 
 %changelog
+* Fri Mar 14 2025 Lumír Balhar <lbalhar@redhat.com> - 0.2.1-3
+- Fix compatibility with the latest setuptools
+
 * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-10-05 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 22:09 [rpms/python-tubes] epel10: Fix compatibility with the latest setuptools Lumir Balhar

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