From cfac1122f9ca101059439fdea106b7142368f16c Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 27 Jan 2021 15:45:17 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/crypto-policies.git#37a4fa3b51dd14d8dbaf31fab953ef3e0ffd35da --- crypto-policies.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crypto-policies.spec b/crypto-policies.spec index 45fdc7c..26eb104 100644 --- a/crypto-policies.spec +++ b/crypto-policies.spec @@ -6,7 +6,7 @@ Name: crypto-policies Version: %{git_date} -Release: 1.git%{git_commit_hash}%{?dist} +Release: 2.git%{git_commit_hash}%{?dist} Summary: System-wide crypto policies License: LGPLv2+ @@ -121,7 +121,7 @@ if not posix.access("%{_sysconfdir}/crypto-policies/config") then end local policypath = "%{_datarootdir}/crypto-policies/"..policy for fn in posix.files(policypath) do - if fn != "." and fn != ".." then + if fn ~= "." and fn ~= ".." then local backend = fn:gsub(".*/", ""):gsub("%%..*", "") local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config" posix.unlink(cfgfn) @@ -185,6 +185,9 @@ end %{_mandir}/man8/fips-finish-install.8* %changelog +* Wed Jan 27 2021 Alexander Sosedkin - 20210127-2.gitb21c811 +- fix comparison in %post lua scriptlet + * Wed Jan 27 2021 Alexander Sosedkin - 20210127-1.gitb21c811 - don't create /etc/crypto-policies/back-ends/.config in %post