BuildRequires: libcap-devel
BuildRequires: pam-devel
BuildRequires: xz
+BuildRequires: gettext-tools
Url: http://www.gnu.org/software/coreutils/
Version: 8.20
Release: 0
Obsoletes: textutils < %{version}
Requires: pam >= 1.1.1.90
Source: coreutils-%{version}.tar.xz
-Source1: su.pamd
-Source2: su.default
Source3: baselibs.conf
-Source4: coreutils-%{version}.de.po.xz
+Provides: /bin/chmod, /bin/chown, /bin/ls, /bin/touch, /bin/mkdir
%description
Basic file, shell, and text manipulation utilities. The package
ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup od paste pathchk
pinky pr printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum
sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split
-stat stty su sum sync tac tail tee test timeout touch tr true tsort tty
+stat stty sum sync tac tail tee test timeout touch tr true tsort tty
uname unexpand uniq unlink uptime users vdir wc who whoami yes
%lang_package
AUTOPOINT=true autoreconf -fi
export CFLAGS="%optflags -Wall"
%configure --libexecdir=%{_libdir} --without-included-regex \
- --enable-install-program=arch,su \
+ --enable-install-program=arch \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_isnanl_works=yes \
DEFAULT_POSIX2_VERSION=199209
%install
%make_install pkglibexecdir=%{_libdir}/%{name}
-test -f %{buildroot}%{_bindir}/su || \
- install src/su %{buildroot}%{_bindir}/su || :
-install -d -m 755 %{buildroot}/etc/pam.d
-install -m 644 %{S:1} %{buildroot}/etc/pam.d/su
-install -m 644 %{S:1} %{buildroot}/etc/pam.d/su-l
-install -d -m 755 %{buildroot}/etc/default
-install -m 644 %{S:2} %{buildroot}/etc/default/su
echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
%find_lang %name
%files
%defattr(-,root,root)
%doc README NEWS
-%config %{_sysconfdir}/pam.d/su
-%config %{_sysconfdir}/pam.d/su-l
-%config(noreplace) %{_sysconfdir}/default/su
-%attr(4755,root,root) %{_bindir}/su
%{_bindir}/*
%{_libdir}/%{name}
%doc %{_infodir}/coreutils.info*.gz
-%doc %{_mandir}/man1/*.1.gz
%dir %{_prefix}/share/locale/*/LC_TIME
+%docs_package
+
%changelog