Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant