mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-17 10:20:55 +01:00
16 lines
403 B
Text
16 lines
403 B
Text
#autoload
|
|
|
|
local args
|
|
|
|
if [[ "$1" = -b ]]; then
|
|
args='*:RPM package:_rpm_package'
|
|
else
|
|
args='*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)'
|
|
fi
|
|
|
|
_rpm_arguments \
|
|
--{short-circuit,clean,rmsource,sign,test} \
|
|
'--buildroot:build root directory:_files -/' \
|
|
'--buildarch:architecture for which to build:' \
|
|
'--buildos:ositecture for which to build:' \
|
|
'--timecheck:time check (seconds):' "$args"
|