Declare Provides statement 84/56084/1 accepted/tizen_common accepted/tizen/base/20160106.122504 accepted/tizen/common/20160118.121354 submit/tizen_base/20160104.083020 submit/tizen_common/20160113.121553
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 4 Jan 2016 07:29:35 +0000 (16:29 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 4 Jan 2016 07:29:35 +0000 (16:29 +0900)
Change-Id: I1456d7c7d9e8313edc6b1c7b6076327334c94ff0
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/coreutils.spec

index 36293f1010ca542e02ad2855159d1b21e089ce47..21e5a9b24d9dc300ce0e9b60907259183fc445e7 100644 (file)
@@ -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