[Rpm-maint] [rpm-software-management/rpm] Regression: --define '_target_os linux' does not work since version 4.20.0 if noarch is the target (Issue #3866)

Michal Domonkos notifications at github.com
Tue Jul 29 09:34:02 UTC 2025


dmnks left a comment (rpm-software-management/rpm#3866)

The correct way to set the target OS when building is to use `--target`, for example `rpmbuild --target x86_64-linux ...` (see the `rpmbuild(8)` man page for details). The `_target_os` macro is internal and may be overridden by rpm itself during the spec parse, which is exactly what happens now with #3071 for `noarch` packages.

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

Message ID: <rpm-software-management/rpm/issues/3866/3131545367 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250729/ca414733/attachment.htm>


More information about the Rpm-maint mailing list