mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

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

Open joshiste opened 2 years ago

joshiste commented 2 years ago

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