> See the comment in rpmLeadFromHeader (as I wrote):
>
> ```
> /* FIXME: should grab these from header instead (RhBug:717898) */
> rpmGetArchInfo(NULL, &archnum);
> rpmGetOsInfo(NULL, &osnum);
> ```
>
> So you'll get the arch from the host where you created or deleted a
> signature, and not the arch from the host that built the package.
Thanks for the reply, I know what you mean, this does seem to be a problem. But
why not consider copying the lead data word for word when creating or deleting
signatures? Is there any other problem?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1326#issuecomment-1332068202
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1326/1332068...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint