From c168f3b3431ee8e57653d93c9c09e50935e4beb0 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Dec 15 2016 09:45:14 +0000 Subject: merge coreutils-selinuxmanpages.patch into coreutils-selinux.patch It does not make any sense to apply them separately. --- diff --git a/coreutils-selinux.patch b/coreutils-selinux.patch index 9f780cc..cee4f7c 100644 --- a/coreutils-selinux.patch +++ b/coreutils-selinux.patch @@ -60,19 +60,22 @@ index 1b528c6..25dbb88 100644 case 'd': x.preserve_links = true; x.dereference = DEREF_NEVER; -diff --git a/src/id.c b/src/id.c -index 05d98a5..d6eb002 100644 ---- a/src/id.c -+++ b/src/id.c -@@ -114,7 +114,7 @@ int - main (int argc, char **argv) - { - int optc; -- int selinux_enabled = (is_selinux_enabled () > 0); -+ bool selinux_enabled = (is_selinux_enabled () > 0); - bool smack_enabled = is_smack_enabled (); - bool opt_zero = false; - char *pw_name = NULL; +diff --git a/doc/coreutils.texi b/doc/coreutils.texi +index 47e4480..cff2ead 100644 +--- a/doc/coreutils.texi ++++ b/doc/coreutils.texi +@@ -8083,6 +8083,11 @@ done + exit $fail + @end example + ++@item -c ++@cindex SELinux security context information, preserving ++Preserve SELinux security context of the original files if possible. ++Some file systems don't support storing of SELinux security context. ++ + @item --copy-contents + @cindex directories, copying recursively + @cindex copying directories recursively diff --git a/src/install.c b/src/install.c index d79d597..437889a 100644 --- a/src/install.c diff --git a/coreutils-selinuxmanpages.patch b/coreutils-selinuxmanpages.patch deleted file mode 100644 index c3eb1a8..0000000 --- a/coreutils-selinuxmanpages.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/doc/coreutils.texi b/doc/coreutils.texi -index 47e4480..cff2ead 100644 ---- a/doc/coreutils.texi -+++ b/doc/coreutils.texi -@@ -8083,6 +8083,11 @@ done - exit $fail - @end example - -+@item -c -+@cindex SELinux security context information, preserving -+Preserve SELinux security context of the original files if possible. -+Some file systems don't support storing of SELinux security context. -+ - @item --copy-contents - @cindex directories, copying recursively - @cindex copying directories recursively diff --git a/coreutils.spec b/coreutils.spec index 21de5eb..860a5cd 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -58,7 +58,6 @@ Patch912: coreutils-overflow.patch #SELINUX Patch - implements Redhat changes #(upstream did some SELinux implementation unlike with RedHat patch) Patch950: coreutils-selinux.patch -Patch951: coreutils-selinuxmanpages.patch Conflicts: filesystem < 3 # To avoid clobbering installs