diff --git a/python-setuptools.spec b/python-setuptools.spec index e59666d..b551e7b 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -28,7 +28,7 @@ Name: python-setuptools # When updating, update the bundled libraries versions bellow! Version: 53.0.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Easily build and distribute Python packages # setuptools is MIT # appdirs is MIT @@ -206,6 +206,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 + %if %{with tests} %check # Verify bundled provides are up to date @@ -241,6 +245,10 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py %changelog +* Fri Mar 07 2025 Tomáš Hrnčiar - 53.0.0-14 +- Make sure the INSTALLER is not pip and remove RECORD +- Resolves: RHEL-82609 + * Wed Jul 24 2024 Lumír Balhar - 53.0.0-13 - Security fix for CVE-2024-6345 Resolves: RHEL-49978