From 88395300a508936c822da8b245f60efbd1123c85 Mon Sep 17 00:00:00 2001 From: MyoungJune Park Date: Mon, 13 Nov 2017 10:49:25 +0900 Subject: [PATCH] add findutils as deps Change-Id: I93a7ef2ad322d3098e5dc1748bdbb00921912fe7 Signed-off-by: MyoungJune Park --- packaging/tizen-locale.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" -- 2.34.1