The mount and umount binaries have been moved to util-linux and therefore
the bash-completions scripts too.
Drop them from the bash-completion package, because they get maintained
in the util-linux package from now.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
bash-completion/bash-completion.nm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bash-completion/bash-completion.nm b/bash-completion/bash-completion.nm
index ac9bcb4..867cbe6 100644
--- a/bash-completion/bash-completion.nm
+++ b/bash-completion/bash-completion.nm
@@ -5,7 +5,7 @@
name = bash-completion
version = 2.4
-release = 1
+release = 2
arch = noarch
groups = Development/Languages
@@ -25,6 +25,9 @@ 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
--
2.7.4