rpms/coreutils/devel coreutils-silentmv.patch, NONE, 1.1 coreutils.spec, 1.257, 1.258

Ondrej Vasik ovasik at fedoraproject.org
Fri Apr 17 09:54:07 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/coreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8680

Modified Files:
	coreutils.spec 
Added Files:
	coreutils-silentmv.patch 
Log Message:
make mv xattr support failures silent (as is done for cp -a) - #496142

coreutils-silentmv.patch:

--- NEW FILE coreutils-silentmv.patch ---
diff -urNp coreutils-7.2-orig/src/mv.c coreutils-7.2/src/mv.c
--- coreutils-7.2-orig/src/mv.c	2009-04-17 11:48:39.000000000 +0200
+++ coreutils-7.2/src/mv.c	2009-04-17 11:49:17.000000000 +0200
@@ -117,7 +117,7 @@ cp_option_init (struct cp_options *x)
   x->preserve_timestamps = true;
   x->preserve_security_context = selinux_enabled;
   x->set_security_context = false;
-  x->reduce_diagnostics = false;
+  x->reduce_diagnostics = true;
   x->require_preserve = false;  /* FIXME: maybe make this an option */
   x->require_preserve_context = false;
   x->preserve_xattr = true;


Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -r1.257 -r1.258
--- coreutils.spec	1 Apr 2009 11:14:30 -0000	1.257
+++ coreutils.spec	17 Apr 2009 09:54:04 -0000	1.258
@@ -1,7 +1,7 @@
 Summary: A set of basic GNU tools commonly used in shell scripts
 Name:    coreutils
 Version: 7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv3+
 Group:   System Environment/Base
 Url:     http://www.gnu.org/software/coreutils/
@@ -49,6 +49,9 @@
 Patch950: coreutils-selinux.patch
 Patch951: coreutils-selinuxmanpages.patch
 
+Patch960: coreutils-silentmv.patch
+
+
 BuildRequires: libselinux-devel >= 1.25.6-1
 BuildRequires: libacl-devel
 BuildRequires: gettext bison
@@ -124,6 +127,8 @@
 %patch950 -p1 -b .selinux
 %patch951 -p1 -b .selinuxman
 
+%patch960 -p1 -b .silentmv
+
 chmod a+x tests/misc/sort-mb-tests
 
 sed -i 's/1.10a/1.10.1/' configure.ac
@@ -309,6 +314,10 @@
 /sbin/runuser
 
 %changelog
+* Fri Apr 17 2009 Ondrej Vasik <ovasik at redhat.com> 7.2-2
+- make mv xattr support failures silent (as is done for
+  cp -a) - #496142
+
 * Tue Mar 31 2009 Ondrej Vasik <ovasik at redhat.com> 7.2-1
 - New upstream bugfix release 7.2
 - removed applied patches




More information about the fedora-extras-commits mailing list