Skip to content

Commit

Permalink
Fix regression in "--sign" option of rpmbuild command (rhbz:#1239039)
Browse files Browse the repository at this point in the history
Regression from 0bce5fc
  • Loading branch information
Lubos Kardos committed Jul 14, 2015
1 parent eb7b41a commit 1cf58b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpmpopt.in
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ rpmbuild alias --buildpolicy --define '__os_install_post %{_rpmconfigdir}/brp-!#
--POPTargs=$"<policy>"
# 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 !#:+' \
Expand Down

0 comments on commit 1cf58b3

Please sign in to comment.