rpms/coreutils/F-13 coreutils-8.4-xattrmodule.patch, NONE, 1.1 coreutils.spec, 1.308, 1.309

Ondrej Vasik ovasik at fedoraproject.org
Mon Jun 14 08:42:12 UTC 2010


Author: ovasik

Update of /cvs/pkgs/rpms/coreutils/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13250

Modified Files:
	coreutils.spec 
Added Files:
	coreutils-8.4-xattrmodule.patch 
Log Message:
compile coreutils with SELinux support again(#603359)

coreutils-8.4-xattrmodule.patch:
 xattr.m4 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE coreutils-8.4-xattrmodule.patch ---
diff -urNp coreutils-8.4-orig/m4/xattr.m4 coreutils-8.4/m4/xattr.m4
--- coreutils-8.4-orig/m4/xattr.m4	2010-01-12 07:36:58.000000000 +0100
+++ coreutils-8.4/m4/xattr.m4	2010-06-14 09:40:44.922293550 +0200
@@ -33,11 +33,11 @@ AC_DEFUN([gl_FUNC_XATTR],
         use_xattr=yes
       fi
     fi
-    AC_DEFINE_UNQUOTED([USE_XATTR], [$use_xattr],
-                       [Define if you want extended attribute support.])
     if test $use_xattr = no; then
       AC_MSG_WARN([libattr development library was not found or not usable.])
       AC_MSG_WARN([AC_PACKAGE_NAME will be built without xattr support.])
     fi
   fi
+  AC_DEFINE_UNQUOTED([USE_XATTR], [`test $use_xattr != yes; echo $?`],
+                     [Define if you want extended attribute support.])
 ])


Index: coreutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/coreutils/F-13/coreutils.spec,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -p -r1.308 -r1.309
--- coreutils.spec	28 Apr 2010 14:44:28 -0000	1.308
+++ coreutils.spec	14 Jun 2010 08:42:12 -0000	1.309
@@ -1,7 +1,7 @@
 Summary: A set of basic GNU tools commonly used in shell scripts
 Name:    coreutils
 Version: 8.4
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv3+
 Group:   System Environment/Base
 Url:     http://www.gnu.org/software/coreutils/
@@ -20,6 +20,8 @@ Source203:  coreutils-runuser-l.pamd
 # From upstream
 #"who" doesn't determine user's message status correctly - #454261
 Patch1: coreutils-8.4-who-msgstatus.patch
+#fix detection of xattr support in configure
+Patch2: coreutils-8.4-xattrmodule.patch
 
 # Our patches
 #general patch to workaround koji build system issues
@@ -118,6 +120,7 @@ Libraries for coreutils package.
 
 # From upstream
 %patch1 -p1 -b .whomsg
+%patch2 -p1 -b .xattr
 
 # Our patches
 %patch100 -p1 -b .configure
@@ -338,6 +341,9 @@ fi
 %{_libdir}/coreutils
 
 %changelog
+* Mon Jun 14 2010 Ondrej Vasik <ovasik at redhat.com> - 8.4-7
+- compile coreutils with SELinux support again(#603359)
+
 * Wed Apr 28 2010 Ondrej Vasik <ovasik at redhat.com> - 8.4-6
 - doublequote LS_COLORS in colorls.*sh scripts to speedup
   shell start(#586029)



More information about the scm-commits mailing list