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 <[email protected]>
Acked-by: Ansis Atteka <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
---
 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

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to