]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
bash-completion: Update to 2.11
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Dec 2022 15:35:02 +0000 (15:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Dec 2022 15:35:02 +0000 (15:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
bash-completion/bash-completion.nm

index f0c3f51f81f2fb703176cf7e53bf062bf5e094c6..faabcfa6202129e91cc862a293ed4022acc75106 100644 (file)
@@ -4,14 +4,14 @@
 ###############################################################################
 
 name       = bash-completion
-version    = 2.4
-release    = 3
+version    = 2.11
+release    = 1
 arch       = noarch
 
 groups     = Development/Languages
 url        = https://github.com/scop/bash-completion
 license    = GPLv2+
-summary    = Programmable completion for Bash.
+summary    = Programmable completion for Bash
 
 description
        bash-completion is a collection of shell functions that take advantage
@@ -21,24 +21,19 @@ end
 source_dl  = https://github.com/scop/bash-completion/releases/download/%{version}/
 sources    = %{thisapp}.tar.xz
 
-build
-       install_cmds
-               rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{cawsay,cowthink}
-
-               # Drop files which are provided by util-linux >= 2.28 and 2.34
-               rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{mount,umount,rfkill}
-
-               install -Dpm 644 %{DIR_SOURCE}/bash-completion-1.99-redefine_filedir.bash \
-                       %{BUILDROOT}%{sysconfdir}/bash_completion.d/redefine_filedir
-       end
-end
-
 packages
        package %{name}
-               groups += Base
-
                requires
                        bash >= 4.1
                end
+
+               # Recommend to install this package when bash is being installed
+               supplements
+                       bash
+               end
+       end
+
+       package %{name}-devel
+               template DEVEL
        end
 end