Personal reminder: https://src.fedoraproject.org/rpms/firefox-pkcs11-loader/blob/master/f/firefox-pkcs11-loader.spec contains # -DCMAKE_INSTALL_LIBDIR:PATH=%%{_libdir} is needed to avoid # https://github.com/open-eid/firefox-pkcs11-loader/issues/10 # and to avoid that the build system will try installing files # under hardcoded /usr/lib/... instead of %{_libdir} %{cmake} . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} since webextension-token-signing has a similar problem, I have to implement the same flag on this package, that uses qmake instead of cmake