From: MyoungJune Park Date: Thu, 31 Dec 2015 05:22:53 +0000 (+0900) Subject: add expand, unexpand for build procedure X-Git-Tag: submit/tizen_base/20151231.055448^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3713a2c1eff99346ef6d1602fcd5b3b1b29111db;p=product%2Fupstream%2Fcoreutils.git add expand, unexpand for build procedure Change-Id: I7296eebce5d71a34dd7b2e48e5b6eeb64cabed78 Signed-off-by: MyoungJune Park --- diff --git a/packaging/coreutils.spec b/packaging/coreutils.spec index 1fa1379..4889038 100644 --- a/packaging/coreutils.spec +++ b/packaging/coreutils.spec @@ -67,7 +67,7 @@ make mandir=%{buildroot}%{_mandir} install-man # let be compatible with old fileutils, sh-utils and textutils packages : mkdir -p %{buildroot}{/bin,%{_bindir},%{_sbindir},/sbin} -for f in cat chgrp chmod chown cp date dd df echo link ln ls mkdir mknod mv pwd rm rmdir sleep sync touch true uname unlink +for f in cat chgrp chmod chown cp date dd df echo expand unexpand link ln ls mkdir mknod mv pwd rm rmdir sleep sync touch true uname unlink do mv %{buildroot}{%{_bindir},/bin}/$f done @@ -76,9 +76,9 @@ done mv %{buildroot}{%{_bindir},%{_sbindir}}/chroot # These come from util-linux and/or procps. -for i in hostname uptime kill ; do - rm %{buildroot}{%{_bindir}/$i,%{_mandir}/man1/$i.1} -done +#for i in hostname uptime kill ; do +# rm %{buildroot}{%{_bindir}/$i,%{_mandir}/man1/$i.1} +#done # Use hard links instead of symbolic links for LC_TIME files (bug #246729). find %{buildroot}%{_datadir}/locale -type l | \ @@ -101,6 +101,8 @@ rm -rf $RPM_BUILD_ROOT /bin/chgrp /bin/chmod /bin/chown +/bin/expand +/bin/unexpand /bin/cp /bin/date /bin/dd