From 0b8fc2bee4405984d4264d4ee286f0efda7ede89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 25 Jun 2025 14:11:42 +0200 Subject: [PATCH] Fix Bash completion - There was a superfluous } - Bash functions cannot have dots in them Resolves: RHEL-99083 --- python3.12-pip.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python3.12-pip.spec b/python3.12-pip.spec index 3cb574e..9335517 100644 --- a/python3.12-pip.spec +++ b/python3.12-pip.spec @@ -13,7 +13,7 @@ Name: python%{python3_pkgversion}-%{srcname} Version: %{base_version}%{?prerel:~%{prerel}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: A tool for installing and managing Python packages # We bundle a lot of libraries with pip, which itself is under MIT license. @@ -231,8 +231,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ > %{buildroot}%{bashcompdir}/pip%{python3_pkgversion} # Make bash completion apply to all the 5 symlinks we install -sed -i -e "s/^\\(complete.*\\) pip\$/\\1 pip{,-}%{python3_pkgversion}}/" \ - -e s/_pip_completion/_pip%{python3_pkgversion}_completion/ \ +sed -i -e "s/^\\(complete.*\\) pip\$/\\1 pip{,-}%{python3_pkgversion}/" \ + -e s/_pip_completion/_pip%{python3_version_nodots}_completion/ \ %{buildroot}%{bashcompdir}/pip%{python3_pkgversion} @@ -294,6 +294,10 @@ pytest_k='not completion' %{python_wheel_dir}/%{python_wheel_name} %changelog +* Wed Jun 25 2025 Miro HronĨok - 23.2.1-5 +- Fix Bash completion +Resolves: RHEL-99083 + * Fri Feb 16 2024 Charalampos Stratakis - 23.2.1-4 - Use tarfile.data_filter for extracting (CVE-2007-4559, PEP-721, PEP-706) Resolves: RHEL-25737