fixup! [D2D] Support wgt-in-rpm for d2d server 81/243481/1 accepted/tizen/unified/20200908.003025 submit/tizen/20200907.120312 submit/tizen/20200907.215710
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 7 Sep 2020 11:53:21 +0000 (04:53 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 7 Sep 2020 11:56:12 +0000 (04:56 -0700)
This moves libtzplatform-config for all profiles.

Change-Id: I82c17747678ae0dc2afa662c6ea5834f4fd597d8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
packaging/wrtjs.spec

index 2d0621b..69093e1 100755 (executable)
@@ -31,8 +31,8 @@ BuildRequires: pkgconfig(dlog)
 BuildRequires: app-signer
 %endif
 BuildRequires: hash-signer, zip
-BuildRequires: pkgconfig(libtzplatform-config)
 %endif
+BuildRequires: pkgconfig(libtzplatform-config)
 
 %description
 Web Runtime Engine based on Electron
@@ -177,9 +177,9 @@ cp -r %{app_dir}/* %{buildroot}%{_resourcedir}/
 %endif
 
 %if 0%{?_use_d2d}
-  install -d %{buildroot}%{_xmldir}
-  install -d %{buildroot}%{_appdir}/%{_d2d_pkgid}/res
   install -d %{buildroot}%{_appdir}/%{_d2d_pkgid}/bin
+  install -d %{buildroot}%{_appdir}/%{_d2d_pkgid}/res
+  install -d %{buildroot}%{_xmldir}
   install -m 0644 packaging/%{_d2d_pkgid}.xml %{buildroot}%{_xmldir}/
   cp -rf d2d_app %{buildroot}%{_appdir}/%{_d2d_pkgid}/res/wgt/
   ln -sf %{_bindir}/wrt-service-launcher %{buildroot}%{_appdir}/%{_d2d_pkgid}/bin/%{_d2d_pkgid}.Service
@@ -232,8 +232,8 @@ rm -fr %{buildroot}
 %manifest packaging/wrtjs.manifest
 %license LICENSE
 %if 0%{?_use_d2d}
-  %{_xmldir}/%{_d2d_pkgid}.xml
   %{_appdir}/%{_d2d_pkgid}
+  %{_xmldir}/%{_d2d_pkgid}.xml
 %endif
 %if "%{?tizen_profile_name}" != "tv"
   %caps(cap_setgid,cap_sys_admin=ei) %{_bindir}/wrt-loader