Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macros: make rpmsig's gpg command alterable
The current version of gpg2 asks for password using a curses dialogue or a GTK dialogue. Both methods breaks automation of package signing. If we want to be asked the old way on terminal, we must run gpg2 with additional arguments '--pinentry-mode loopback' (and gpg-agent must be allow looping back (--allow-loopback) - allowed by default since 2.1.13). Currently there is no other way how to tweak gpg command line than creating a wrapper script and redefining %__gpg macro. The wrapper script method can lead to use of wrong version of gpg binary, hence, this patch adds possibility to specify additional command lines argument passed on gpg's command line. Signed-off-by: Jakub Filak <jfilak@redhat.com>
- Loading branch information