###############################################################################
name = coreutils
-version = 8.16
-release = 4
+version = 8.23
+release = 1
groups = System/Base
url = http://www.gnu.org/software/coreutils/
autoconf
automake
e2fsprogs-devel
+ gettext-devel
gmp-devel
libacl-devel
libattr-devel
libcap-devel
libselinux-devel
ncurses-devel
- pam-devel>=1.1.5
+ texinfo
end
CFLAGS += \
-D_GNU_SOURCE=1 \
- -fno-strict-aliasing
+ -fno-strict-aliasing \
+ -fpic
configure_options += \
+ FORCE_UNSAFE_CONFIGURE=1 \
+ --enable-dependency-tracking \
--libexecdir=%{libdir} \
- --enable-pam \
- --enable-selinux \
--enable-largefile \
--disable-rpath \
- --enable-install-program=arch,su \
+ --enable-install-program=arch \
--enable-no-install-program=hostname,kill,uptime \
--with-tty-group \
- \
- gl_cv_func_mknod_works=yes
prepare_cmds
- aclocal -I m4
- autoconf --force
+ autoreconf -vfi
end
test
install_cmds
mkdir -pv %{BUILDROOT}%{sbindir}
mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
- mv -v %{BUILDROOT}/usr/bin/runuser %{BUILDROOT}%{sbindir}
-
- # su (set right capabilities)
- chmod -v u-s %{BUILDROOT}%{bindir}/su
- setcap cap_setgid,cap_setuid+ep %{BUILDROOT}%{bindir}/su
# Dump /etc/DIR_COLORS
mkdir -pv %{BUILDROOT}%{sysconfdir}
- dircolors -p > %{BUILDROOT}/etc/DIR_COLORS
+ for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
+ install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
+ done
# Install profile.d.
mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
/bin/sleep
/bin/sort
/bin/stty
- /bin/su
/bin/sync
/bin/touch
/bin/true
/bin/uname
- /sbin/runuser
end
conflicts