[ovs-dev] [PATCH v3 4/6] selinux: tag the custom policy version

Aaron Conole aconole at redhat.com
Fri Jun 1 18:28:47 UTC 2018


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 at ovn.org>
Acked-by: Ansis Atteka <aatteka at ovn.org>
Signed-off-by: Aaron Conole <aconole at redhat.com>
---
 selinux/openvswitch-custom.te.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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;
-- 
2.14.3



More information about the dev mailing list