Added localtime script in .spec file 90/135590/1
authorjinwang.an <jinwang.an@samsung.com>
Fri, 23 Jun 2017 08:13:39 +0000 (17:13 +0900)
committerjinwang.an <jinwang.an@samsung.com>
Fri, 23 Jun 2017 08:14:05 +0000 (17:14 +0900)
Change-Id: Ib8b8c81191e000e838af303cd1fe91959e601ecf
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
packaging/org.tizen.settings.spec

index 89867e9..1816a4e 100755 (executable)
@@ -65,6 +65,14 @@ make %{?jobs:-j%jobs}
 %clean
 rm -rf %{buildroot}
 
+%post
+
+#resetTimeAndData
+rm -f %{TZ_SYS_ETC}/localtime
+ln -s /usr/share/zoneinfo/Asia/Seoul %{TZ_SYS_ETC}/localtime
+rm -f /etc/localtime
+ln -s %{TZ_SYS_ETC}/localtime /etc/localtime
+
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)