public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-rich] epel8: Correct version of package in python metadata
Date: Tue, 22 Sep 2026 03:04:56 GMT [thread overview]
Message-ID: <179004629615.1.3852903230673193185.rpms-python-rich-5b72c27d18ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-rich
Branch : epel8
Commit : 5b72c27d18eaeeb5b62ca3d0f8ad4cd9d306e6ba
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-09-13T12:33:01+02:00
Stats : +3/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-rich/c/5b72c27d18eaeeb5b62ca3d0f8ad4cd9d306e6ba?branch=epel8
Log:
Correct version of package in python metadata
- Resolves: rhbz#2196227
On EL8 the package was being installed as:
```
/usr/lib/python3.6/site-packages/rich-0.0.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/rich-0.0.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/rich-0.0.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/rich-0.0.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/rich-0.0.0-py3.6.egg-info/top_level.txt
```
Add the version to the shim setup.py that is created.
---
diff --git a/python-rich.spec b/python-rich.spec
index 25d42e7..6cf3ab5 100644
--- a/python-rich.spec
+++ b/python-rich.spec
@@ -46,6 +46,9 @@ code, tracebacks, and more — out of the box.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
+# Otherwise we end up with 0.0.0 in the metadata, rhbz#2196227
+sed -i 's/setuptools.setup(name="rich")/setuptools.setup(name="rich", version="%{version}")/' setup.py
+
%build
%py3_build
reply other threads:[~2026-09-22 3:04 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=179004629615.1.3852903230673193185.rpms-python-rich-5b72c27d18ea@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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