add manifest for tpk backend 26/37526/2 accepted/tizen/common/20150331.085109 accepted/tizen/tv/20150402.041725 submit/tizen_common/20150330.150902 submit/tizen_tv/20150401.112323
authorBaptiste DURAND <baptiste.durand@gmail.com>
Mon, 30 Mar 2015 12:17:34 +0000 (14:17 +0200)
committerBaptiste DURAND <baptiste.durand@gmail.com>
Mon, 30 Mar 2015 12:18:59 +0000 (14:18 +0200)
Change-Id: I5d632d00f86619111f222923c82f1d39da735621
Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com>
packaging/app-installers.spec
packaging/tpk-backend.manifest [new file with mode: 0644]

index cb526c4..4582173 100644 (file)
@@ -6,6 +6,7 @@ Group:          Application Framework/Package Management
 License:        Apache-2.0
 Source0:        %{name}-%{version}.tar.gz
 Source1001:     wgt-backend.manifest
+Source1002:     tpk-backend.manifest
 
 BuildRequires:  boost-devel
 BuildRequires:  cmake
@@ -62,6 +63,7 @@ Unit tests for al modules of app-installers
 %setup -q
 
 cp %{SOURCE1001} .
+cp %{SOURCE1002} .
 
 %build
 %cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} -DWRT_LAUNCHER=%{_bindir}/xwalk-launcher
@@ -98,6 +100,7 @@ ln -s %{_bindir}/tpk-backend %{buildroot}%{_sysconfdir}/package-manager/backend/
 
 %files -n tpk-backend
 %{_sysconfdir}/package-manager/backend/tpk
+%manifest tpk-backend.manifest
 %{_bindir}/tpk-backend
 
 %files tests
diff --git a/packaging/tpk-backend.manifest b/packaging/tpk-backend.manifest
new file mode 100644 (file)
index 0000000..925f49b
--- /dev/null
@@ -0,0 +1,8 @@
+<manifest>
+        <request>
+                <domain name="_" />
+        </request>
+        <assign>
+                <filesystem path="/usr/bin/tpk-backend" exec_label="User" />
+        </assign>
+</manifest>