From: DongHun Kwak Date: Mon, 4 Jan 2016 07:29:35 +0000 (+0900) Subject: Declare Provides statement X-Git-Tag: submit/tizen_base/20160104.083020^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c6f932a77ebf0c733308fd30faa2d3c92661ab4;p=product%2Fupstream%2Fcoreutils.git Declare Provides statement Change-Id: I1456d7c7d9e8313edc6b1c7b6076327334c94ff0 Signed-off-by: DongHun Kwak --- diff --git a/packaging/coreutils.spec b/packaging/coreutils.spec index 36293f1..21e5a9b 100644 --- a/packaging/coreutils.spec +++ b/packaging/coreutils.spec @@ -22,10 +22,25 @@ BuildRequires: autoconf >= 2.58 BuildRequires: automake >= 1.10 BuildRequires: gettext findutils -Provides: fileutils sh-utils stat textutils mktemp Provides: coreutils Obsoletes: coreutils +Provides: fileutils sh-utils stat textutils mktemp +Provides: /bin/basename +Provides: /bin/cat +Provides: /bin/chmod +Provides: /bin/chown +Provides: /bin/cp +Provides: /bin/ln +Provides: /bin/ls +Provides: /bin/mkdir +Provides: /bin/mv +Provides: /bin/pwd +Provides: /bin/rm +Provides: /bin/sort +Provides: /bin/touch + + %description These are the GNU core utilities. This package is the combination of the old GNU fileutils, sh-utils, and textutils packages. @@ -57,7 +72,7 @@ make %install pushd ../mktemp-1.5 -make bindir=%{buildroot}/bin mandir=%{buildroot}%{_mandir} install +make bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir} install popd %make_install @@ -66,14 +81,14 @@ popd 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 expand unexpand link ln ls mkdir mknod mv pwd rm rmdir sleep sync touch true uname unlink -do - mv %{buildroot}{%{_bindir},/bin}/$f -done +#mkdir -p %{buildroot}{/bin,%{_bindir},%{_sbindir},/sbin} +#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 # chroot was in /usr/sbin : -mv %{buildroot}{%{_bindir},%{_sbindir}}/chroot +#mv %{buildroot}{%{_bindir},%{_sbindir}}/chroot # These come from util-linux and/or procps. #for i in hostname uptime kill ; do @@ -96,61 +111,98 @@ rm -rf $RPM_BUILD_ROOT %files %manifest %{name}.manifest +%defattr(-,root,root) %license COPYING - -/bin/cat -/bin/chgrp -/bin/chmod -/bin/chown -/bin/expand -/bin/unexpand -/bin/cp -/bin/date -/bin/dd -/bin/df -/bin/echo -/bin/ln -/bin/ls -/bin/mkdir -/bin/mknod -/bin/mktemp -/bin/mv -/bin/pwd -/bin/rm -/bin/rmdir -/bin/sleep -/bin/sync -/bin/touch -/bin/true -/bin/uname +%{_bindir}/base64 %{_bindir}/basename +%{_bindir}/cat +%{_bindir}/chgrp +%{_bindir}/chmod +%{_bindir}/chown +%{_bindir}/chroot %{_bindir}/cksum -%{_bindir}/cut %{_bindir}/comm +%{_bindir}/cp +%{_bindir}/csplit +%{_bindir}/cut +%{_bindir}/date +%{_bindir}/dd +%{_bindir}/df +%{_bindir}/dir +%{_bindir}/dircolors %{_bindir}/dirname %{_bindir}/du +%{_bindir}/echo %{_bindir}/env +%{_bindir}/expand %{_bindir}/expr +%{_bindir}/factor +%{_bindir}/false +%{_bindir}/fmt +%{_bindir}/fold +%{_bindir}/groups %{_bindir}/head +%{_bindir}/hostid %{_bindir}/id %{_bindir}/install +%{_bindir}/join +%{_bindir}/kill +%{_bindir}/link +%{_bindir}/ln +%{_bindir}/logname +%{_bindir}/ls %{_bindir}/md5sum +%{_bindir}/mkdir +%{_bindir}/mkfifo +%{_bindir}/mknod +%{_bindir}/mktemp +%{_bindir}/mv %{_bindir}/nice +%{_bindir}/nl +%{_bindir}/nohup %{_bindir}/od +%{_bindir}/paste +%{_bindir}/pathchk +%{_bindir}/pinky +%{_bindir}/pr %{_bindir}/printenv %{_bindir}/printf +%{_bindir}/ptx +%{_bindir}/pwd %{_bindir}/readlink +%{_bindir}/rm +%{_bindir}/rmdir %{_bindir}/seq +%{_bindir}/sha1sum +%{_bindir}/sha224sum +%{_bindir}/sha256sum +%{_bindir}/sha384sum +%{_bindir}/sha512sum +%{_bindir}/shred +%{_bindir}/shuf +%{_bindir}/sleep %{_bindir}/sort -%{_bindir}/stat %{_bindir}/split +%{_bindir}/stat +%{_bindir}/stty +%{_bindir}/sum +%{_bindir}/sync %{_bindir}/tac %{_bindir}/tail %{_bindir}/tee %{_bindir}/test +%{_bindir}/touch %{_bindir}/tr +%{_bindir}/true +%{_bindir}/tsort +%{_bindir}/tty +%{_bindir}/uname +%{_bindir}/unexpand %{_bindir}/uniq +%{_bindir}/unlink +%{_bindir}/users +%{_bindir}/vdir %{_bindir}/wc %{_bindir}/who %{_bindir}/whoami -%{_sbindir}/chroot +%{_bindir}/yes