forked from pool/crypto-policies
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:
parent
cc90f5ddb4
commit
33b21d2a36
@ -23,6 +23,7 @@ Version: %{git_date}
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: System-wide crypto policies
|
Summary: System-wide crypto policies
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Productivity/Networking/Security
|
||||||
URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
|
URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
|
||||||
Source0: fedora-crypto-policies-master.tar.bz2
|
Source0: fedora-crypto-policies-master.tar.bz2
|
||||||
Source1: README.SUSE
|
Source1: README.SUSE
|
||||||
@ -39,7 +40,7 @@ BuildRequires: python3-devel >= 3.6
|
|||||||
BuildRequires: perl(File::Copy)
|
BuildRequires: perl(File::Copy)
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(File::Which)
|
BuildRequires: perl(File::Which)
|
||||||
BuildRequires: perl(File::pushd)
|
#BuildRequires: perl(File::pushd)
|
||||||
Recommends: crypto-policies-scripts
|
Recommends: crypto-policies-scripts
|
||||||
Conflicts: gnutls < 3.7.0
|
Conflicts: gnutls < 3.7.0
|
||||||
#Conflicts: libreswan < 3.28
|
#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"
|
local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config"
|
||||||
posix.unlink(cfgfn)
|
posix.unlink(cfgfn)
|
||||||
posix.symlink(policypath.."/"..fn, cfgfn)
|
posix.symlink(policypath.."/"..fn, cfgfn)
|
||||||
fi
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user