Fix Bash completion
- Bash functions cannot have dots in them Resolves: RHEL-100071
This commit is contained in:
parent
06ce251845
commit
5045013e96
@ -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 <mhroncok@redhat.com> - 22.3.1-6
|
||||
- Fix Bash completion
|
||||
Resolves: RHEL-100071
|
||||
|
||||
* Wed Feb 14 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 22.3.1-5
|
||||
- Require Python with tarfile filters
|
||||
Resolves: RHEL-25455
|
||||
|
Loading…
Reference in New Issue
Block a user