Make sure the INSTALLER is not pip and remove RECORD
Resolves: RHEL-82609
This commit is contained in:
parent
acbfc4d2ed
commit
a05861aa91
@ -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 <thrnciar@redhat.com> - 53.0.0-14
|
||||
- Make sure the INSTALLER is not pip and remove RECORD
|
||||
- Resolves: RHEL-82609
|
||||
|
||||
* Wed Jul 24 2024 Lumír Balhar <lbalhar@redhat.com> - 53.0.0-13
|
||||
- Security fix for CVE-2024-6345
|
||||
Resolves: RHEL-49978
|
||||
|
Loading…
Reference in New Issue
Block a user