Blame SOURCES/0003-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch

1a445b
From d55a06c002641dce1301b9b5639bd8e206460724 Mon Sep 17 00:00:00 2001
e65efd
From: Miroslav Grepl <mgrepl@redhat.com>
e65efd
Date: Mon, 12 May 2014 14:11:22 +0200
e65efd
Subject: [PATCH] If there is no executable we don't want to print a part of
e65efd
 STANDARD FILE CONTEXT
1a445b
Content-type: text/plain
e65efd
e65efd
---
e65efd
 python/sepolicy/sepolicy/manpage.py | 3 ++-
e65efd
 1 file changed, 2 insertions(+), 1 deletion(-)
e65efd
e65efd
diff --git a/python/sepolicy/sepolicy/manpage.py b/python/sepolicy/sepolicy/manpage.py
1a445b
index 82338aeeef32..ec8aa1cb94a2 100755
e65efd
--- a/python/sepolicy/sepolicy/manpage.py
e65efd
+++ b/python/sepolicy/sepolicy/manpage.py
e65efd
@@ -795,7 +795,8 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d
e65efd
 .PP
e65efd
 """ % {'domainname': self.domainname, 'equiv': e, 'alt': e.split('/')[-1]})
e65efd
 
e65efd
-        self.fd.write(r"""
e65efd
+        if flist_non_exec:
1a445b
+            self.fd.write(r"""
e65efd
 .PP
e65efd
 .B STANDARD FILE CONTEXT
e65efd
 
e65efd
-- 
1a445b
2.35.1
e65efd