diff --git a/kernel.spec b/kernel.spec index 83a2944..f42ca6f 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1214,13 +1214,12 @@ sed -n \ > "%{certs_public_keys}" # link sign-file and extract-cert with LibreSSL instead of OpenSSL -libressl_cflags="$(pkg-config --cflags --libs libressl-libcrypto)" if [ $? != 0 ] ; then exit $? ; fi sed -i %{src_dir}/scripts/Makefile \ %if %{with uml} %{src_dir}.uml/scripts/Makefile \ %endif - -e "s,-lcrypto,${libressl_cflags},g" + -e "s, libcrypto , libressl-libcrypto ,g" %if %{with additional_keys} # Add additional public RSA keys to the list of trusted keys for kernel modules