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

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