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