diff --git a/rpmpopt.in b/rpmpopt.in index ca95702583..48c5c557a9 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -187,7 +187,7 @@ rpmbuild alias --buildpolicy --define '__os_install_post %{_rpmconfigdir}/brp-!# --POPTargs=$"" # Minimally preserve rpmbuild's --sign functionality rpmbuild alias --sign \ - --pipe "grep '.*: .*\.rpm$'|cut -d: -f2|xargs -r rpm --addsign" \ + --pipe 'rpm --addsign `grep ".*: .*\.rpm$"|cut -d: -f2` < "/dev/"`ps -p $$ -o tty | tail -n 1`' \ --POPTdesc=$"generate GPG signature (deprecated, use command rpmsign instead)" rpmsign alias --key-id --define '_gpg_name !#:+' \