[Rpm-maint] [rpm-software-management/rpm] Inconsistent behavior on BuildArch packages (Issue #3172)

Panu Matilainen notifications at github.com
Tue Jun 18 08:02:24 UTC 2024


Commit 96467dce18f264b278e17ffe1859c88d9b5aa4b6 added automatic config reload on BuildArch when --target is not specified, but leaves an explicit --target alone even when its wrong.
Notably, mock seems to pass  something like --target $(uname -m) always unless explicitly set by whatever is calling it (such as koji). This means by default any standalone mock usage will get noarch builds wrong, which is why we need stupidity like 3a14eb950148514c6d196ab3cefa7a37b82bff64.

Customer is always right, except when they are not. We need to override a bad explicit --target too, for consistency and our own sanity.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3172
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3172 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240618/622b0288/attachment.html>


More information about the Rpm-maint mailing list