X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=coreutils.spec;h=ed4de345abd58108462c41af6b2c5caa2ce8b1b2;hb=3938f1b373aced831cc55e23a1c1d5ed5d550ee2;hp=3340587df4eef62261523f70bde98aaf5adc6777;hpb=50d7c6b9e9cebf163de2d4c035340c47c44faabe;p=packages%2Fcoreutils.git diff --git a/coreutils.spec b/coreutils.spec index 3340587..ed4de34 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -6,12 +6,12 @@ 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.14 +Version: 8.15 Release: 2 License: GPL v3+ Group: Applications/System Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz -# Source0-md5: bcb135ce553493a45aba01b39eb3920a +# Source0-md5: 094909fafa86110140b32e4948941545 Source1: %{name}-non-english-man-pages.tar.bz2 # Source1-md5: f7c986ebc74ccb8d08ed70141063f14c Source2: DIR_COLORS @@ -30,7 +30,6 @@ Patch4: %{name}-uname-cpuinfo.patch Patch5: %{name}-date-man.patch Patch6: %{name}-mem.patch Patch7: %{name}-7.4-sttytcsadrain.patch -Patch8: %{name}-bug-10243.patch Patch9: %{name}-fmt-wchars.patch Patch10: %{name}-runuser.patch Patch11: %{name}-split-pam.patch @@ -91,9 +90,9 @@ The programs that can be built with this package are: 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 @@ -109,9 +108,9 @@ Programy zawarte w tym pakiecie to: 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 @@ -124,7 +123,6 @@ Programy zawarte w tym pakiecie to: %patch5 -p1 %patch6 -p1 %patch7 -p1 -%patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 @@ -155,6 +153,10 @@ Programy zawarte w tym pakiecie to: %{__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 @@ -165,7 +167,7 @@ Programy zawarte w tym pakiecie to: 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 @@ -188,10 +190,10 @@ df,echo,false,id,link,ln,ls,mkdir,mknod,mktemp,mv,nice,printf,pwd,rm,rmdir,\ 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