From 1cf58b30c88351cd6ff86cb2c15895cb85f54377 Mon Sep 17 00:00:00 2001 From: Lubos Kardos Date: Tue, 14 Jul 2015 10:06:31 +0200 Subject: [PATCH] Fix regression in "--sign" option of rpmbuild command (rhbz:#1239039) Regression from 0bce5fcf270711a2e077fba0fb7c5979ea007eb5 --- rpmpopt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !#:+' \