From 208c55f1d24b5bfaa3710090812babb505dd2e4d Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 22 Jun 2020 15:21:42 +0200 Subject: [PATCH] Update after crypto-policies packaging change Suggested by Tomas Mraz in: https://bugzilla.redhat.com/show_bug.cgi?id=1848649#c7 --- nss.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nss.spec b/nss.spec index a8dfc56..f6cd5ec 100644 --- a/nss.spec +++ b/nss.spec @@ -53,7 +53,7 @@ Requires: nss-util >= %{nss_version} Requires: nss-softokn%{_isa} >= %{nss_version} Requires: nss-system-init Requires: p11-kit-trust -Requires: crypto-policies +Requires: /usr/bin/update-crypto-policies BuildRequires: nspr-devel >= %{nspr_version} # for shlibsign BuildRequires: nss-softokn @@ -631,10 +631,7 @@ install -p -m 644 %{SOURCE28} $RPM_BUILD_ROOT/%{_sysconfdir}/crypto-policies/loc # from previous versions of nss.spec /usr/bin/setup-nsssysinit.sh on -%post -update-crypto-policies &> /dev/null || : - -%postun +%posttrans update-crypto-policies &> /dev/null || :