-* ptx: (coreutils)ptx invocation. Produce permuted indexes.
-* pwd: (coreutils)pwd invocation. Print working directory.
-* readlink: (coreutils)readlink invocation. Print referent of a symlink.
+-* realpath: (coreutils)readpath invocation. Print resolved file names.
-* rm: (coreutils)rm invocation. Remove files.
-* rmdir: (coreutils)rmdir invocation. Remove empty directories.
-* runcon: (coreutils)runcon invocation. Run in specified SELinux CTX.
+* ptx: (coreutils)ptx. Produce permuted indexes
+* pwd: (coreutils)pwd. Print working directory
+* readlink: (coreutils)readlink. Print referent of a symlink
++* realpath: (coreutils)realpath. Print resolved file names
+* rm: (coreutils)rm. Remove files
+* rmdir: (coreutils)rmdir. Remove empty directories
+* runcon: (coreutils)runcon. Run in specified SELinux CTX
@command{test}: Check file types and compare values
-@@ -372,21 +363,21 @@
+@@ -372,22 +363,22 @@
Redirection
-* dirname invocation:: Strip last file name component
-* pathchk invocation:: Check file name validity and portability
-* mktemp invocation:: Create temporary file or directory
+-* realpath invocation:: Print resolved file names
+* basename:: Strip directory and suffix from a file name
+* dirname:: Strip last file name component
+* pathchk:: Check file name validity and portability
+* mktemp:: Create temporary file or directory
++* realpath:: Print resolved file names
Working context
@section @command{tee}: Redirect output to multiple files or processes
@pindex tee
-@@ -12138,14 +12123,14 @@
+@@ -12138,15 +12123,15 @@
This section describes commands that manipulate file names.
@menu
-* dirname invocation:: Strip last file name component.
-* pathchk invocation:: Check file name validity and portability.
-* mktemp invocation:: Create temporary file or directory.
+-* realpath invocation:: Print resolved file names.
+* basename:: Strip directory and suffix from a file name.
+* dirname:: Strip last file name component.
+* pathchk:: Check file name validity and portability.
+* mktemp:: Create temporary file or directory.
++* realpath:: Print resolved file names.
@end menu
@@ -12,10 +12,10 @@ The programs that can be built with this
factor false fmt fold groups head hostid hostname id install join kill
link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
- nproc 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 stdbuf stty su sum sync tac tail tee test timeout
-- touch tr true truncate tsort tty uname unexpand uniq unlink uptime users
-- vdir wc who whoami yes
-+ runcon runuser seq sha1sum sha224sum sha256sum sha384sum sha512sum shred
-+ shuf sleep sort split stat stdbuf stty su sum sync tac tail tee test
-+ timeout touch tr true truncate tsort tty uname unexpand uniq unlink uptime
-+ users vdir wc who whoami yes
+ nproc od paste pathchk pinky pr printenv printf ptx pwd readlink realpath
+- rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred
+- shuf sleep sort split stat stdbuf stty su sum sync tac tail tee test
+- timeout touch tr true truncate tsort tty uname unexpand uniq unlink
+- uptime users vdir wc who whoami yes
++ rm rmdir runcon runuser seq sha1sum sha224sum sha256sum sha384sum sha512sum
++ shred shuf sleep sort split stat stdbuf stty su sum sync tac tail tee
++ test timeout touch tr true truncate tsort tty uname unexpand uniq
++ unlink uptime users vdir wc who whoami yes
See the file NEWS for a list of major changes in the current release.
# Conditional build:
%bcond_with advcopy # progress bar in cp (orphaned patch)
%bcond_without tests # do not perform "make test check"
-
+#
Summary: GNU Core-utils - basic command line utilities
Summary(pl.UTF-8): GNU Core-utils - podstawowe narzędzia działające z linii poleceń
Name: coreutils
-Version: 8.13
+Version: 8.15
Release: 2
License: GPL v3+
Group: Applications/System
Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
-# Source0-md5: 8e1675c6c336ff55557c698706a63d6c
+# Source0-md5: 094909fafa86110140b32e4948941545
Source1: %{name}-non-english-man-pages.tar.bz2
# Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
Source2: DIR_COLORS
Patch5: %{name}-date-man.patch
Patch6: %{name}-mem.patch
Patch7: %{name}-7.4-sttytcsadrain.patch
-
Patch9: %{name}-fmt-wchars.patch
Patch10: %{name}-runuser.patch
Patch11: %{name}-split-pam.patch
dd df dir dircolors dirname du echo env expand expr factor false fmt
fold install groups head hostid id join link ln logname ls md5sum
mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr printenv
- printf ptx pwd rm rmdir runuser seq sha1sum shred sleep sort split
- stat stty su sum sync tac tail tee test touch tr true tsort tty uname
- unexpand uniq unlink users vdir wc who whoami yes
+ printf ptx pwd realpath rm rmdir runuser seq sha1sum shred sleep sort
+ split stat stty su sum sync tac tail tee test touch tr true tsort tty
+ uname unexpand uniq unlink users vdir wc who whoami yes
%description -l pl.UTF-8
Narzędzia podstawowe (core utilities) GNU to połączone paczki GNU
dd df dir dircolors dirname du echo env expand expr factor false fmt
fold ginstall groups head hostid id join link ln logname ls md5sum
mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr printenv
- printf ptx pwd rm rmdir runuser seq sha1sum shred sleep sort split
- stat stty su sum sync tac tail tee test touch tr true tsort tty uname
- unexpand uniq unlink users vdir wc who whoami yes
+ printf ptx pwd realpath rm rmdir runuser seq sha1sum shred sleep sort
+ split stat stty su sum sync tac tail tee test touch tr true tsort tty
+ uname unexpand uniq unlink users vdir wc who whoami yes
%prep
%setup -q -a1
%{__rm} tests/misc/help-version
%{__sed} -i -e '/misc\/help-version/d' tests/Makefile.am
+# fails on some filesystems (like XFS), where readdir returns d_type=DT_UNKNOWN
+%{__rm} tests/ls/stat-free-color
+%{__sed} -i -e '/ls\/stat-free-color/d' tests/Makefile.am
+
%build
%{__gettextize}
%{__aclocal} -I m4
CFLAGS="%{rpmcflags} -DSYSLOG_SUCCESS -DSYSLOG_FAILURE -DSYSLOG_NON_ROOT" \
DEFAULT_POSIX2_VERSION=199209 \
--disable-silent-rules \
- --enable-install-program=arch \
+ --enable-install-program=arch,su \
--enable-no-install-program=hostname,kill,uptime \
--enable-pam
sleep,sort,stat,stty,sync,touch,true,unlink,uname} $RPM_BUILD_ROOT/bin
mv -f $RPM_BUILD_ROOT%{_bindir}/chroot $RPM_BUILD_ROOT%{_sbindir}
+mv $RPM_BUILD_ROOT{%{_bindir},/sbin}/runuser
# su is missed by "make install" called by non-root
install -p src/su $RPM_BUILD_ROOT/bin
-install -p src/runuser $RPM_BUILD_ROOT/sbin
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}
cp -p %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/shrc.d
install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man1/mktemp.1
# unwanted (-f left intentionally - some manuals could have no translations)
rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{hostname,kill,uptime}.1
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/eo
# always remove, never packaged but sometimes installed
rm -f $RPM_BUILD_ROOT%{_infodir}/dir