tested all rpm builds

This commit is contained in:
Marc Wäckerlin
2017-03-19 18:59:39 +00:00
parent 11bc2bafe2
commit 4a063cc022
10 changed files with 410 additions and 52 deletions

14
rpmsign.exp Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/expect -f
set key [lindex $argv 0]
set password [lindex $argv 1]
set files [lrange $argv 2 end]
### rpm-sign.exp -- Sign RPMs by sending the passphrase.
spawn rpmsign --define "_gpg_name $key" --addsign {*}$files
expect {
"Enter pass phrase: " {
send -- "$password\r"
exp_continue
} eof
}