public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-py] pr7: Remove bundled dist-info/egg-info directories
@ 2026-08-01 11:43 Tomas Orsava
0 siblings, 0 replies; only message in thread
From: Tomas Orsava @ 2026-08-01 11:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-py
Branch : pr7
Commit : 5255af12354b411f7baa037472334b1c6ab9e11a
Author : Tomas Orsava <torsava@redhat.com>
Date : 2021-01-14T16:22:08+01:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-py/c/5255af12354b411f7baa037472334b1c6ab9e11a?branch=pr7
Log:
Remove bundled dist-info/egg-info directories
---
diff --git a/python-py.spec b/python-py.spec
index 4c4d00f..a71c4b5 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -90,6 +90,11 @@ rm -rf doc/_build/html/.buildinfo
%install
%py3_install
+# Remove bundled dist/egg-info directories, they shouldn't be shipped for
+# bundled modules and in some cases they could confuse automatic generators
+# that read the dist/egg-info data.
+rm -rf %{buildroot}%{python3_sitelib}/py/_vendored_packages/*.{dist,egg}-info
+
%check
%if %{with tests}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-01 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 11:43 [rpms/python-py] pr7: Remove bundled dist-info/egg-info directories Tomas Orsava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox