From 1b814b27270faca58797061222d7e40978c308be7951dde0ede1d645b58ff625 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 23 May 2022 10:53:08 +0000 Subject: [PATCH] bsc#1199724 OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=126 --- bash-completion.changes | 6 ++++++ bash-completion.spec | 2 ++ bsc1199724-modules.patch | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 bsc1199724-modules.patch diff --git a/bash-completion.changes b/bash-completion.changes index 9aa8d4d..9d5cf66 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 23 10:37:27 UTC 2022 - Dr. Werner Fink + +- Add patch bsc1199724-modules.patch (bsc#1199724) + * Enable upstream commit to list ko.zst modules as well + ------------------------------------------------------------------- Fri Jan 28 19:19:55 UTC 2022 - Dirk Müller diff --git a/bash-completion.spec b/bash-completion.spec index 7cf2a74..9610ca5 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -68,6 +68,8 @@ Patch11: bash-completion-2.7-unRAR-remove.patch Patch12: bash-completion-fix-missing-directory-completion-with-filename-pattern.patch # PATCH-FIX-SUSE boo#1190929 Patch13: boo1190929-9af4afd0.patch +# PATCH-FIX-SUSE boo#1199724 +Patch14: bsc1199724-modules.patch BuildRequires: libtool BuildRequires: pkgconfig BuildArch: noarch diff --git a/bsc1199724-modules.patch b/bsc1199724-modules.patch new file mode 100644 index 0000000..a4949af --- /dev/null +++ b/bsc1199724-modules.patch @@ -0,0 +1,15 @@ +--- + bash_completion | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/bash_completion ++++ b/bash_completion 2022-05-23 10:50:43.197937832 +0000 +@@ -1316,7 +1316,7 @@ _modules() + local modpath + modpath=/lib/modules/$1 + COMPREPLY=($(compgen -W "$(command ls -RL $modpath 2>/dev/null | +- command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p')" -- "$cur")) ++ command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\|\.bz2\|\.zst\)\{0,1\}$/\1/p')" -- "$cur")) + } + + # This function completes on installed modules