From a3593cab3f15ac576e0879c1c3f8094a092f10e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Fri, 7 Mar 2025 14:27:34 +0100 Subject: [PATCH] Make sure the INSTALLER is not pip and remove RECORD Resolves: RHEL-82611 --- python3.11-setuptools.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python3.11-setuptools.spec b/python3.11-setuptools.spec index 7719528..edb369e 100644 --- a/python3.11-setuptools.spec +++ b/python3.11-setuptools.spec @@ -21,7 +21,7 @@ Name: python%{python3_pkgversion}-setuptools # When updating, update the bundled libraries versions bellow! Version: 65.5.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Easily build and distribute Python packages # setuptools is MIT # appdirs is MIT @@ -172,6 +172,10 @@ mkdir -p %{buildroot}%{python_wheel_dir} install -p dist/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir} %endif +# Make sure the INSTALLER is not pip and remove RECORD +echo rpm > %{buildroot}%{python3_sitelib}/setuptools-%{version}.dist-info/INSTALLER +rm %{buildroot}%{python3_sitelib}/setuptools-%{version}.dist-info/RECORD + %check # Regression tests @@ -237,6 +241,10 @@ PYTHONPATH=$(pwd) %pytest \ %changelog +* Fri Mar 07 2025 Tomáš Hrnčiar - 65.5.1-4 +- Make sure the INSTALLER is not pip and remove RECORD +Resolves: RHEL-82611 + * Wed Jul 24 2024 Lumír Balhar - 65.5.1-3 - Security fix for CVE-2024-6345 Resolves: RHEL-49992