From 5045013e9623c002fa7fb170cd8092c50174e3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 25 Jun 2025 14:21:58 +0200 Subject: [PATCH] Fix Bash completion - Bash functions cannot have dots in them Resolves: RHEL-100071 --- python3.11-pip.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python3.11-pip.spec b/python3.11-pip.spec index 7e4e9d4..e45b9b4 100644 --- a/python3.11-pip.spec +++ b/python3.11-pip.spec @@ -12,7 +12,7 @@ Name: python%{python3_pkgversion}-%{srcname} Version: %{base_version}%{?prerel:~%{prerel}} -Release: 5%{?dist} +Release: 6%{?dist} Summary: A tool for installing and managing Python packages # We bundle a lot of libraries with pip, which itself is under MIT license. @@ -283,7 +283,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ # 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/ \ + -e s/_pip_completion/_pip%{python3_version_nodots}_completion/ \ %{buildroot}%{bashcompdir}/pip%{python3_pkgversion} @@ -343,6 +343,10 @@ pytest_k='not completion' %{python_wheel_dir}/%{python_wheel_name} %changelog +* Wed Jun 25 2025 Miro Hrončok - 22.3.1-6 +- Fix Bash completion +Resolves: RHEL-100071 + * Wed Feb 14 2024 Tomáš Hrnčiar - 22.3.1-5 - Require Python with tarfile filters Resolves: RHEL-25455