summaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2018-06-01 14:28:47 -0400
committerAnsis Atteka <aatteka@ovn.org>2018-06-17 19:32:22 -0700
commit341a373d0aae62d669d31ad57895a74bb4c3befc (patch)
tree5b668f3fe594e50aebe3d10f47420f6dbdff79d0 /selinux
parent135901ae4de2822a20b2450d6251f70287916bf2 (diff)
downloadopenvswitch-341a373d0aae62d669d31ad57895a74bb4c3befc.tar.gz
selinux: tag the custom policy version
Since the policy is an intermediate file, it can inherit the policy module version from release version. Also include an SPDX identifier. Suggested-by: Ansis Atteka <aatteka@ovn.org> Acked-by: Ansis Atteka <aatteka@ovn.org> Signed-off-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/openvswitch-custom.te.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/selinux/openvswitch-custom.te.in b/selinux/openvswitch-custom.te.in
index 5bd2e1274..4678f2f57 100644
--- a/selinux/openvswitch-custom.te.in
+++ b/selinux/openvswitch-custom.te.in
@@ -1,4 +1,6 @@
-module openvswitch-custom 1.0.1;
+# SPDX-License-Identifier: Apache-2.0
+
+module openvswitch-custom @VERSION@;
require {
role system_r;