diff --git a/gnutls.changes b/gnutls.changes index a9d8332..2b3e181 100644 --- a/gnutls.changes +++ b/gnutls.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 17 17:16:08 UTC 2020 - Pedro Monreal + +- Require the crypto-policies package [bsc#1180051] + ------------------------------------------------------------------- Tue Nov 24 15:43:02 UTC 2020 - Vítězslav Čížek diff --git a/gnutls.spec b/gnutls.spec index 2c0d5d1..ae7bf1d 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -81,6 +81,7 @@ BuildRequires: libunbound-devel %if %{with guile} BuildRequires: guile-devel %endif +Requires: crypto-policies %description The GnuTLS library provides a secure layer over a reliable transport @@ -184,7 +185,7 @@ export CXXFLAGS="%{optflags} -fPIE" --disable-static \ --disable-rpath \ --disable-silent-rules \ - --with-default-trust-store-dir=%{_localstatedir}/lib/ca-certificates/pem \ + --with-default-trust-store-dir=%{_localstatedir}/lib/ca-certificates/pem \ --with-system-priority-file=%{_sysconfdir}/crypto-policies/back-ends/gnutls.config \ --with-default-priority-string="@SYSTEM" \ --with-sysroot=/%{?_sysroot} \ @@ -197,7 +198,7 @@ export CXXFLAGS="%{optflags} -fPIE" --disable-libdane \ %endif --enable-fips140-mode \ - %{nil} + %{nil} echo "SYSTEM=NORMAL" >> tests/system.prio @@ -242,7 +243,7 @@ rm -rf %{buildroot}%{_datadir}/doc/gnutls %check %if ! 0%{?qemu_user_space_build} -#make %{?_smp_mflags} check || { +#make %%{?_smp_mflags} check || { make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null || { find -name test-suite.log -print -exec cat {} + exit 1