Created attachment 1016392 [details] spec changes Description of problem: %if %{_arch} == "x86_64" mkdir -p %{buildroot}%{_libdir} mv %{buildroot}/usr/lib/libbinpac.a %{buildroot}%{_libdir}/libbinpac.a %endif Version-Release number of selected component (if applicable): 2.3.2-1 How reproducible: always Steps to Reproduce: 1. do a build on aarch64 (arm-koji), ppc64 (ppc-koji) or s390x (s390-koji) Actual results: RPM build errors: error: File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a Child return code was: 1 Expected results: Package builds Additional info:
After discussion on irc I think that this check would be even better: %if 0%{?_lib} != 'lib' So if Fedora one day decide to add libwhatever then it will still work.