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

Message ID 20180601182849.12984-5-aconole@redhat.com
State New
Headers show
Series
  • selinux: introduce a transition domain for loading kmods
Related show

Commit Message

Aaron Conole June 1, 2018, 6:28 p.m.
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>
---
 selinux/openvswitch-custom.te.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

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;