fix lua syntax in post section and add group tag

OBS-URL: https://build.opensuse.org/package/show/security:tls/crypto-policies?expand=0&rev=4
This commit is contained in:
Pedro Monreal Gonzalez 2021-02-02 13:17:12 +00:00 committed by Git OBS Bridge
parent cc90f5ddb4
commit 33b21d2a36

View File

@ -23,6 +23,7 @@ Version: %{git_date}
Release: 0
Summary: System-wide crypto policies
License: LGPL-2.1-or-later
Group: Productivity/Networking/Security
URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
Source0: fedora-crypto-policies-master.tar.bz2
Source1: README.SUSE
@ -39,7 +40,7 @@ BuildRequires: python3-devel >= 3.6
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Which)
BuildRequires: perl(File::pushd)
#BuildRequires: perl(File::pushd)
Recommends: crypto-policies-scripts
Conflicts: gnutls < 3.7.0
#Conflicts: libreswan < 3.28
@ -137,7 +138,7 @@ if not posix.access("%{_sysconfdir}/crypto-policies/config") then
local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config"
posix.unlink(cfgfn)
posix.symlink(policypath.."/"..fn, cfgfn)
fi
end
end
end