From 515da82ce821f929429857f93676e1ce9f9819f3cde1774eb53b77d2ce41dfa7 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 30 Mar 2020 10:38:06 +0000 Subject: [PATCH] Accepting request 789310 from home:michals - Fix mplayer completion excluding directories (boo#1167952). * bash-completion-mplayer-complete-directories.patch OBS-URL: https://build.opensuse.org/request/show/789310 OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=108 --- bash-completion-mplayer-complete-directories.patch | 12 ++++++++++++ bash-completion.changes | 6 ++++++ bash-completion.spec | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 bash-completion-mplayer-complete-directories.patch diff --git a/bash-completion-mplayer-complete-directories.patch b/bash-completion-mplayer-complete-directories.patch new file mode 100644 index 0000000..8a7fee2 --- /dev/null +++ b/bash-completion-mplayer-complete-directories.patch @@ -0,0 +1,12 @@ +diff -ur bash-completion-2.10.orig/completions/mplayer bash-completion-2.10/completions/mplayer +--- bash-completion-2.10.orig/completions/mplayer 2019-12-05 16:43:10.000000000 +0100 ++++ bash-completion-2.10/completions/mplayer 2020-03-28 15:56:14.137258895 +0100 +@@ -279,6 +279,7 @@ + ;; + *) + _filedir '@(m?(j)p?(e)g|M?(J)P?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fl[iv]|FL[IV]|fxm|FXM|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m?(p)4[av]|M?(P)4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|aac|AAC|m2v|M2V|dv|DV|rmvb|RMVB|mid|MID|t[ps]|T[PS]|3g[p2]|3gpp?(2)|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2t?(s)|M2T?(S)|mts|MTS|vdr|VDR|xvid|XVID|ape|APE|gif|GIF|nut|NUT|bik|BIK|web[am]|WEB[AM]|amr|AMR|awb|AWB|iso|ISO|opus|OPUS|m[eo]d|M[EO]D|xm|XM|it|IT|s[t3]m|S[T3]M|mtm|MTM|w64|W64)?(.@(crdownload|part))' ++ _filedir -d + ;; + esac + +Only in bash-completion-2.10/completions: mplayer~ diff --git a/bash-completion.changes b/bash-completion.changes index 33b538b..dcd187c 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 28 15:01:27 UTC 2020 - Michal Suchanek + +- Fix mplayer completion excluding directories (boo#1167952). + * bash-completion-mplayer-complete-directories.patch + ------------------------------------------------------------------- Fri Mar 13 09:34:01 UTC 2020 - Fabian Vogt diff --git a/bash-completion.spec b/bash-completion.spec index 6d1367e..771e773 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -54,6 +54,8 @@ Patch9: rm-completion-smart-boo958462.patch Patch10: backticks-bsc963140.patch # PATCH-FIX-SUSE boo#1090515 Patch12: bash-completion-2.7-unRAR-remove.patch +# PATCH-FIX-SUSE boo#1167952 +Patch13: bash-completion-mplayer-complete-directories.patch %if %build_doc BuildRequires: asciidoc BuildRequires: libxslt-tools @@ -108,6 +110,7 @@ package bash-completion. %patch9 -b .p9 %patch10 -b .p10 -p1 %patch12 -b .p12 -p0 +%patch13 -b .p13 -p1 %build %configure