parent
64b82320ba
commit
7a24e4ff26
14
bash-completion-manpath.patch
Normal file
14
bash-completion-manpath.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/completions/man b/completions/man
|
||||||
|
--- a/completions/man
|
||||||
|
+++ b/completions/man
|
||||||
|
@@ -53,9 +53,7 @@ _man()
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
- local manpath="$MANPATH"
|
||||||
|
- [[ -z $manpath ]] && \
|
||||||
|
- manpath=$( manpath 2>/dev/null || command man -w 2>/dev/null )
|
||||||
|
+ local manpath=$( manpath 2>/dev/null || command man -w 2>/dev/null )
|
||||||
|
[[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man"
|
||||||
|
|
||||||
|
# determine manual section to search
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: bash-completion
|
Name: bash-completion
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Programmable completion for Bash
|
Summary: Programmable completion for Bash
|
||||||
|
|
||||||
@ -16,7 +16,8 @@ Source0: https://github.com/scop/bash-completion/releases/download/%{vers
|
|||||||
Patch0: %{name}-1.99-noblacklist.patch
|
Patch0: %{name}-1.99-noblacklist.patch
|
||||||
# It should be removed while rebasing to bash-completion-2.8
|
# It should be removed while rebasing to bash-completion-2.8
|
||||||
Patch1: %{name}-rfkill.patch
|
Patch1: %{name}-rfkill.patch
|
||||||
|
# It should be removed while rebasing to bash-completion-2.8
|
||||||
|
Patch2: %{name}-manpath.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: dejagnu
|
BuildRequires: dejagnu
|
||||||
@ -92,6 +93,10 @@ make -C completions check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 14 2018 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.7-4
|
||||||
|
- Do not use $MANPATH directly
|
||||||
|
Resolves: #1495055
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-3
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user