public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-tubes] epel10.3: Fix compatibility with the latest setuptools
Date: Mon, 05 Oct 2026 22:10:09 GMT	[thread overview]
Message-ID: <179123820939.1.16558983429119301599.rpms-python-tubes-856cfffe1971@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-tubes
            Branch : epel10.3
            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.3

            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
 

                 reply	other threads:[~2026-10-05 22:10 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=179123820939.1.16558983429119301599.rpms-python-tubes-856cfffe1971@fedoraproject.org \
    --to=lbalhar@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