X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fwgt-backend.spec;h=b83cc9a5d666125341c61afc26b83d976b00bb36;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2Fx%2F20240318.021829;hp=9dffcf48de85961e3d41b5d217b12e2b0bb1019f;hpb=8c43a95fa175e6a4fdb11f801d4b8c7e49b0e217;p=platform%2Fcore%2Fappfw%2Fwgt-backend.git diff --git a/packaging/wgt-backend.spec b/packaging/wgt-backend.spec index 9dffcf4..b83cc9a 100644 --- a/packaging/wgt-backend.spec +++ b/packaging/wgt-backend.spec @@ -1,6 +1,6 @@ Name: wgt-backend Summary: Application installer backend for WGT -Version: 0.15.16 +Version: 0.15.38 Release: 1 Group: Application Framework/Package Management License: Apache-2.0 @@ -11,7 +11,6 @@ Source1001: wgt-installer.manifest Source1002: wgt-installer-tests.manifest Requires: wgt-installer = %{version} -BuildRequires: boost-devel BuildRequires: cmake BuildRequires: app-installers-tests BuildRequires: pkgconfig(app-installers) @@ -58,7 +57,13 @@ cp %{SOURCE1001} . cp %{SOURCE1002} . %build -%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} +%ifnarch x86_64 aarch64 +ISARC64=0 +%else +ISARC64=1 +%endif +%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \ + -DISARC64=${ISARC64} make %{?_smp_mflags} %install @@ -67,8 +72,10 @@ mkdir -p %{buildroot}/etc/package-manager/backend ln -s %{_bindir}/wgt-backend %{buildroot}%{_sysconfdir}/package-manager/backend/wgt %post -n wgt-installer-tests -/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-installer-ut/smoke-test -/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-installer-ut/smoke-test-helper +/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/smoke-test +/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/smoke-test-helper +/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/hybrid-smoke-test-helper +/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/extensive-smoke-test %files %manifest wgt-backend.manifest @@ -94,7 +101,9 @@ ln -s %{_bindir}/wgt-backend %{buildroot}%{_sysconfdir}/package-manager/backend/ %files -n wgt-installer-tests %manifest wgt-installer-tests.manifest %{_bindir}/wgt-installer-ut/* +%ifnarch x86_64 aarch64 %{_datadir}/wgt-installer-ut/* +%endif %{_libdir}/libwgt-smoke-utils.so* %{_includedir}/app-installers/smoke_tests/wgt_smoke_utils.h