File bash-completion-complete_spm.patch of Package bash-completion
Index: bash_completion/bash_completion
===================================================================
--- bash_completion.orig/bash_completion 2008-09-26 15:36:59.000000000 +0200
+++ bash_completion/bash_completion 2008-09-26 15:54:34.000000000 +0200
@@ -1987,7 +1987,7 @@ _rpm()
--eval --pipe --queryformat --repackage --nosuggests \
--nodigest --nosignature' -- $cur ) )
else
- _filedir 'rpm'
+ _filedir '@(rpm|spm)'
fi
;;
esac