[Rpm-maint] [rpm-software-management/rpm] Remove --sign from rpmbuild (#1027)

Panu Matilainen notifications at github.com
Fri Jan 31 07:25:04 UTC 2020


How about this instead:

`rpmbuild alias --sign --eval "%{error:rpmbuild --sign is no longer supported. Use the rpmsign command instead!}"`

...which gives you both error on stderr, and a non-zero exit code:
```
$ rpmbuild -bb --sign foo.spec; echo $?
error: rpmbuild --sign is no longer supported. Use the rpmsign command instead!
1
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1027#issuecomment-580616610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200130/8ab8fe10/attachment.html>


More information about the Rpm-maint mailing list