about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Linux/_rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/_rpm b/Completion/Linux/_rpm
index e90402a75..a6625dd2e 100644
--- a/Completion/Linux/_rpm
+++ b/Completion/Linux/_rpm
@@ -44,7 +44,7 @@ local ret=1 tmp expl
 # Used by `_arguments', made local here.
 
 local state lstate line
-tyeset -A options
+typeset -A options
 
 state=''
 
@@ -139,7 +139,7 @@ while [[ -n "$state" ]]; do
       '*:RPM package:->package' && ret=0
     ;;
   build_b)
-    tmp=( '*:RPM package:->package' )
+    tmp=( '*:spec file:_files -g \*.spec' )
     ;&
   build_t)
     (( $#tmp )) || tmp=( '*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)' )