[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)
Aditya Garg
notifications at github.com
Wed Jul 30 02:59:52 UTC 2025
AdityaGarg8 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](https://github.com/rpm-software-management/rpm/pull/3071) (included in 4.20.0) for `noarch` packages.
This worked, thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3866#issuecomment-3134705770
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3866/3134705770 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250729/e28d882f/attachment.htm>
More information about the Rpm-maint
mailing list