#!/usr/bin/expect -f
spawn rpm --resign {*}$argv
expect -exact "Enter passphrase: "
send -- "$env(REPOSITORY_KEY_PASSPHRASE)\r"
expect eof
