compile coreutils with SELinux support again(#603359)

This commit is contained in:
Ondrej Vasik 2010-06-14 08:42:12 +00:00
parent 153ad72649
commit b6691b37ed
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,17 @@
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.])
])

View File

@ -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@redhat.com> - 8.4-7
- compile coreutils with SELinux support again(#603359)
* Wed Apr 28 2010 Ondrej Vasik <ovasik@redhat.com> - 8.4-6
- doublequote LS_COLORS in colorls.*sh scripts to speedup
shell start(#586029)