Fix signing issue on wearable device 17/225517/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 20 Feb 2020 10:47:57 +0000 (19:47 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 20 Feb 2020 10:47:57 +0000 (19:47 +0900)
Change-Id: If67e682df5da525ed44a883855706829c72f283d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/capi-ui-sticker.spec

index 75149e5..87df788 100644 (file)
@@ -137,10 +137,6 @@ chown -R ui_fw:ui_fw %{TZ_SYS_SHARE}/sticker-data
 chsmack -t %{TZ_SYS_SHARE}/sticker-data
 chsmack -a "System::Shared" %{TZ_SYS_SHARE}/sticker-data
 
-%if 0%{?sec_product_feature_profile_wearable}
-/usr/bin/signing-client/hash-signer-client.sh -a -d -p platform %{TZ_SYS_RO_APP}/%{_companion_app_name}
-%endif
-
 %postun -p /sbin/ldconfig
 
 %files
@@ -168,7 +164,7 @@ chsmack -a "System::Shared" %{TZ_SYS_SHARE}/sticker-data
 
 %if 0%{?sec_product_feature_profile_wearable}
 %post -n %{_companion_app_name}
-mkdir -p %{TZ_SYS_RO_APP}/%{_companion_app_name}
+/usr/bin/signing-client/hash-signer-client.sh -a -d -p platform %{TZ_SYS_RO_APP}/%{_companion_app_name}
 
 %files -n %{_companion_app_name}
 %manifest receiver/%{_companion_app_name}.manifest