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