public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-rich] epel8: Correct version of package in python metadata
@ 2026-09-22 3:04 Steve Traylen
0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-09-22 3:04 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-22 3:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 3:04 [rpms/python-rich] epel8: Correct version of package in python metadata Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox