[libselinux/f16] Change python binding for restorecon to check if the context matches. If it does do not reset

Daniel J Walsh dwalsh at fedoraproject.org
Tue Nov 29 15:14:52 UTC 2011


commit 60ebb758f7cca72a9159b62bba4192954096cbbd
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Tue Nov 29 10:14:35 2011 -0500

    Change python binding for restorecon to check if the context matches.
    If it does do not reset

 libselinux.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index b7c0e7f..68e1874 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -94,7 +94,7 @@ needed for developing SELinux applications.
 
 %prep
 %setup -q
-%patch1 -p2 -b .rhat
+%patch1 -p1 -b .rhat
 
 %build
 # To support building the Python wrapper against multiple Python runtimes


More information about the scm-commits mailing list