summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capi-media-camera-test-headless.manifest3
-rw-r--r--capi-media-camera-test.manifest3
-rw-r--r--packaging/capi-media-camera.spec10
3 files changed, 7 insertions, 9 deletions
diff --git a/capi-media-camera-test-headless.manifest b/capi-media-camera-test-headless.manifest
index a76fdba..86d6106 100644
--- a/capi-media-camera-test-headless.manifest
+++ b/capi-media-camera-test-headless.manifest
@@ -2,4 +2,7 @@
<request>
<domain name="_" />
</request>
+ <assign>
+ <filesystem path="/usr/bin/camera_test_headless" exec_label="System" />
+ </assign>
</manifest>
diff --git a/capi-media-camera-test.manifest b/capi-media-camera-test.manifest
index a76fdba..bb1b9ab 100644
--- a/capi-media-camera-test.manifest
+++ b/capi-media-camera-test.manifest
@@ -2,4 +2,7 @@
<request>
<domain name="_" />
</request>
+ <assign>
+ <filesystem path="/usr/bin/camera_test" exec_label="System" />
+ </assign>
</manifest>
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index c36c0f7..22c23e6 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -1,7 +1,7 @@
Name: capi-media-camera
Summary: A Camera API
Version: 0.4.78
-Release: 0
+Release: 1
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -102,14 +102,6 @@ install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name}
%postun -p /sbin/ldconfig
-%post test
-chsmack -e "System" %{_bindir}/camera_test
-
-
-%post test-headless
-chsmack -e "System" %{_bindir}/camera_test_headless
-
-
%files
%manifest capi-media-camera.manifest
%license LICENSE.APLv2