17
0

6 Commits

Author SHA256 Message Date
0b4f737e50 Accepting request 1306737 from shells
- "interdiff" shipped as part of patchutils since version 0.4.3,
  so drop it here (forwarded request 1306736 from sndirsch)

OBS-URL: https://build.opensuse.org/request/show/1306737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=63
2025-09-25 16:44:51 +00:00
db82700b73 Accepting request 1306736 from home:sndirsch:branches:shells
- "interdiff" shipped as part of patchutils since version 0.4.3,
  so drop it here

OBS-URL: https://build.opensuse.org/request/show/1306736
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=150
2025-09-23 12:45:36 +00:00
454e79ee4d Accepting request 1305804 from shells
- Add patch bug1246923.patch
  * Skip colon from device names for ethtool (bsc#1246923)

OBS-URL: https://build.opensuse.org/request/show/1305804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=62
2025-09-20 20:03:47 +00:00
b15ceac735 .
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=148
2025-09-18 13:07:54 +00:00
f66f33a467 .
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=147
2025-09-18 13:05:30 +00:00
1e4108c842 Fix bug bsc#1246923
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=146
2025-09-18 13:03:55 +00:00
3 changed files with 41 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Sep 23 11:42:26 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- "interdiff" shipped as part of patchutils since version 0.4.3,
so drop it here
-------------------------------------------------------------------
Thu Sep 18 13:02:46 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add patch bug1246923.patch
* Skip colon from device names for ethtool (bsc#1246923)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 24 13:44:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de> Mon Feb 24 13:44:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package bash-completion # spec file for package bash-completion
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -70,6 +70,8 @@ Patch13: boo1190929-9af4afd0.patch
Patch14: bsc1199724-modules.patch Patch14: bsc1199724-modules.patch
# PATCH-FIX-SUSE boo#1221414 -- shells/bash-completion: Bug # PATCH-FIX-SUSE boo#1221414 -- shells/bash-completion: Bug
Patch15: boo1221414-scp.patch Patch15: boo1221414-scp.patch
# PATCH-FIX-UPSTREAM bsc#1246923 -- [SLES 16.0] The network name is end with ":" via ethtool auto-completion
Patch16: bug1246923.patch
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildArch: noarch BuildArch: noarch
@@ -133,6 +135,8 @@ del="$del secret-tool"
del="$del _adb" del="$del _adb"
# shipped as part of kmod # shipped as part of kmod
del="$del insmod insmod.static modinfo modprobe rmmod" del="$del insmod insmod.static modinfo modprobe rmmod"
# shipped as part of patchutils
del="$del interdiff"
for i in $del; do for i in $del; do
rm -fv "%{buildroot}%{_datadir}/bash-completion/completions/$i" rm -fv "%{buildroot}%{_datadir}/bash-completion/completions/$i"

24
bug1246923.patch Normal file
View File

@@ -0,0 +1,24 @@
From a452aee8fb58720ecfadbdaad95277ac9d9072ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Thu, 2 May 2024 21:22:09 +0300
Subject: [PATCH] fix(available_interfaces): strip only trailing colon from
entries
Leave other punctuation alone, at least for now.
Closes https://github.com/scop/bash-completion/issues/1133
---
bash_completion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/bash_completion
+++ b/bash_completion 2025-09-18 13:01:19.130576676 +0000
@@ -1738,7 +1738,7 @@ _comp_compgen_available_interfaces()
fi
} 2>/dev/null | _comp_awk \
'/^[^ \t]/ { if ($1 ~ /^[0-9]+:/) { print $2 } else { print $1 } }')" &&
- _comp_compgen -U generated set "${generated[@]}"
+ _comp_compgen -U generated set "${generated[@]%:}"
}
# Echo number of CPUs, falling back to 1 on failure.