Hello John,
now, if I didn't make some silly mistake, things should be OK now.
First of all I've adopted your suggestion to fix the setup_jobserver script.
And I think I've found a way to use a SHA256 instead of SHA1 to sign the rpms.
At least querying the rpm says:
[ronald@alma9 src]$ rpm -qp --qf '%|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{(none)}|}|\n' /home/ronald/rpmbuild/RPMS/x86_64/schedulix-base-2.11-4.el9.x86_64.rpm
warning: /home/ronald/rpmbuild/RPMS/x86_64/schedulix-base-2.11-4.el9.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID b008c315: NOKEY
RSA/SHA256, Wed 03 Jul 2024 10:40:56 AM CEST, Key ID 5b32b65fb008c315
For those who want to create and sign rpms themselves, what I did is to add a line to my ~/.rpmmacros:
[ronald@alma9 src]$ cat ~/.rpmmacros
%_gpg_name Ronald Jeninga (Key used for signing rpm packages) <ronald....@independit.de>
%_binary_filedigest_algorithm SHA256
I hope it works now, but please notify if not.
Best regards,
Ronald