Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0b4f737e50 | |||
| db82700b73 | |||
| 454e79ee4d | |||
| b15ceac735 | |||
| f66f33a467 | |||
| 1e4108c842 |
@@ -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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -70,6 +70,8 @@ Patch13: boo1190929-9af4afd0.patch
|
||||
Patch14: bsc1199724-modules.patch
|
||||
# PATCH-FIX-SUSE boo#1221414 -- shells/bash-completion: Bug
|
||||
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: pkgconfig
|
||||
BuildArch: noarch
|
||||
@@ -133,6 +135,8 @@ del="$del secret-tool"
|
||||
del="$del _adb"
|
||||
# shipped as part of kmod
|
||||
del="$del insmod insmod.static modinfo modprobe rmmod"
|
||||
# shipped as part of patchutils
|
||||
del="$del interdiff"
|
||||
|
||||
for i in $del; do
|
||||
rm -fv "%{buildroot}%{_datadir}/bash-completion/completions/$i"
|
||||
|
||||
24
bug1246923.patch
Normal file
24
bug1246923.patch
Normal 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.
|
||||
Reference in New Issue
Block a user