Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

rpm macro resolution should take the target architecture into account #134

Open
joshiste opened this issue Sep 16, 2022 · 0 comments
Open

Comments

@joshiste
Copy link

When evaluating the %{_libdir} macro the target architecture must be taken into account.
On a 64bit machine it makes a difference:

$ rpm --eval %{_libdir}
/usr/lib64
$ rpm --target noarch-pc-linux --eval %{_libdir}
/usr/lib

so you may endup that files are copied to a different location then the rpm is looking for when building the spec

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant