[PATCH] bash-completion: Remove file for rfkill.

Stefan Schantl stefan.schantl at ipfire.org
Fri Jun 21 22:01:05 BST 2019


This is now shipped by util-linux.

Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 bash-completion/bash-completion.nm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bash-completion/bash-completion.nm b/bash-completion/bash-completion.nm
index 867cbe669..f0c3f51f8 100644
--- a/bash-completion/bash-completion.nm
+++ b/bash-completion/bash-completion.nm
@@ -5,7 +5,7 @@
 
 name       = bash-completion
 version    = 2.4
-release    = 2
+release    = 3
 arch       = noarch
 
 groups     = Development/Languages
@@ -25,8 +25,8 @@ 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}
+		# 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
-- 
2.20.1



More information about the Development mailing list