public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Orsava <torsava@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] pr7: Remove bundled dist-info/egg-info directories
Date: Sat, 01 Aug 2026 11:43:43 GMT	[thread overview]
Message-ID: <178558462315.1.3598555894158663757.rpms-python-py-5255af12354b@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-08-01 11:43 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=178558462315.1.3598555894158663757.rpms-python-py-5255af12354b@fedoraproject.org \
    --to=torsava@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