From: MyoungJune Park Date: Mon, 13 Nov 2017 01:49:25 +0000 (+0900) Subject: add findutils as deps X-Git-Tag: submit/tizen/20171113.023154^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F159740%2F2;p=platform%2Fcore%2Fbase%2Ftizen-locale.git add findutils as deps Change-Id: I93a7ef2ad322d3098e5dc1748bdbb00921912fe7 Signed-off-by: MyoungJune Park --- diff --git a/packaging/tizen-locale.spec b/packaging/tizen-locale.spec index 050f8ca..b6fc0d6 100644 --- a/packaging/tizen-locale.spec +++ b/packaging/tizen-locale.spec @@ -11,6 +11,7 @@ Source11: tizen-build-locale-archive Source12: tzdata-update BuildRequires: tzdata >= 2003a +Requires: findutils Requires: coreutils Requires: tzdata #Requires: glibc-common @@ -66,10 +67,10 @@ make -f %{SOURCE10} IN=localedata/SUPPORTED OUT=%{buildroot}/usr/share/i18n/SUPP %postun -%posttrans -/bin/ls /usr/lib/locale/ | /bin/grep _ | /usr/bin/xargs -I {} /bin/rm -rf /usr/lib/locale/{} -/bin/rm -rf /usr/lib/locale/C.UTF-8 -/bin/find /usr/share/locale/ -name libc.mo | /bin/grep -v en_GB | /usr/bin/xargs -I {} /bin/rm {} +%posttrans +ls /usr/lib/locale/ | /bin/grep _ | /usr/bin/xargs -I {} /bin/rm -rf /usr/lib/locale/{} +rm -rf /usr/lib/locale/C.UTF-8 +find /usr/share/locale/ -name libc.mo | /bin/grep -v en_GB | /usr/bin/xargs -I {} /bin/rm {} %clean rm -rf "$RPM_BUILD_ROOT"