]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - bash-completion/bash-completion.nm
python-setuputils: Update to 40.4.3
[ipfire-3.x.git] / bash-completion / bash-completion.nm
index 6e0eda416b9ec918b4a39a4334ad3accc9bc876c..867cbe669d61bdc94de735b344eae768143351ac 100644 (file)
@@ -4,12 +4,12 @@
 ###############################################################################
 
 name       = bash-completion
-version    = 1.99
-release    = 1
+version    = 2.4
+release    = 2
 arch       = noarch
 
 groups     = Development/Languages
-url        = http://bash-completion.alioth.debian.org/
+url        = https://github.com/scop/bash-completion
 license    = GPLv2+
 summary    = Programmable completion for Bash.
 
@@ -18,13 +18,16 @@ description
        of the programmable completion feature of bash.
 end
 
-source_dl  = http://bash-completion.alioth.debian.org/files/
-sources    = %{thisapp}.tar.bz2
+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
+               rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{mount,umount}
+
                install -Dpm 644 %{DIR_SOURCE}/bash-completion-1.99-redefine_filedir.bash \
                        %{BUILDROOT}%{sysconfdir}/bash_completion.d/redefine_filedir
        end
@@ -32,8 +35,10 @@ end
 
 packages
        package %{name}
+               groups += Base
 
-       requires
-               bash >= 4.1
+               requires
+                       bash >= 4.1
+               end
        end
 end