fixup! Bringup Upgradable Web Engine (UWE) 91/290091/3
authorGajendra N <gajendra.n@samsung.com>
Mon, 20 Mar 2023 06:57:30 +0000 (12:27 +0530)
committerBot Blink <blinkbot@samsung.com>
Mon, 20 Mar 2023 09:43:09 +0000 (09:43 +0000)
Due to misordering of spec sections in the original patch, smack
rules were not applied to wrt-service executable before creating
squashfs img. This commit fixes it.

Change-Id: I10cd22e2f92791c6dff2f083ff426f58a31d621e
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
packaging/chromium-efl.spec

index b491566..baec867 100755 (executable)
@@ -1087,18 +1087,6 @@ rm -rf %{CHROMIUM_TPK_DIR}/%{_tpk_file_name}.tpk
   %{CHROMIUM_LIB_DIR}/bin/icudtl.dat
 %endif
 
-%if 0%{?__make_squashfs_rpm}
-%files squashfs
-%defattr(-,root,root,-)
-%{CHROMIUM_APP_DIR}/res/%{name}.img
-%endif
-
-%if 0%{?__generate_tpk}
-%files tpk
-%defattr(-,root,root,-)
-%{CHROMIUM_TPK_DIR}/*
-%endif
-
 %if 0%{?__enable_wrt_js}
   %if "%{?profile}" == "tv"
     %caps(cap_mac_admin,cap_mac_override,cap_setgid,cap_setpcap,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin,cap_sys_nice=eip) %{_bindir}/wrt
@@ -1135,6 +1123,18 @@ rm -rf %{CHROMIUM_TPK_DIR}/%{_tpk_file_name}.tpk
   %{_bindir}/wrt-service-launcher
 %endif
 
+%if 0%{?__make_squashfs_rpm}
+%files squashfs
+%defattr(-,root,root,-)
+%{CHROMIUM_APP_DIR}/res/%{name}.img
+%endif
+
+%if 0%{?__generate_tpk}
+%files tpk
+%defattr(-,root,root,-)
+%{CHROMIUM_TPK_DIR}/*
+%endif
+
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/chromium-ewk/*.h