summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:52 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:52 -0700
commit33ee54e4c153de874c3435f3a415fbf173d29005 (patch)
tree21d6350cbf80defb4d0df05e715dd1a8b3f00e5b
parentb2f043bf927d6bc281dac19467fb2b043b625444 (diff)
downloadsensor-framework-33ee54e4c153de874c3435f3a415fbf173d29005.tar.gz
sensor-framework-33ee54e4c153de874c3435f3a415fbf173d29005.tar.bz2
sensor-framework-33ee54e4c153de874c3435f3a415fbf173d29005.zip
Add default Smack manifest for sensor-framework.spec
Change-Id: Iae56fa0ec1fb8c8d1e75286cc9655fc5f90e294b Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/sensor-framework.manifest5
-rw-r--r--packaging/sensor-framework.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/sensor-framework.manifest b/packaging/sensor-framework.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/sensor-framework.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/sensor-framework.spec b/packaging/sensor-framework.spec
index a7a3e68..f47ba64 100644
--- a/packaging/sensor-framework.spec
+++ b/packaging/sensor-framework.spec
@@ -5,6 +5,7 @@ Release: 1
Group: TO_BE/FILLED_IN
License: LGPL
Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/sensor-framework.manifest
Requires(post): /usr/bin/vconftool
@@ -19,6 +20,7 @@ Sensor framework
%setup -q
%build
+cp %{SOURCE1001} .
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make %{?jobs:-j%jobs}
@@ -57,6 +59,7 @@ rm -f /etc/rc.d/rc3.d/S40sfsvc
rm -f /etc/rc.d/rc4.d/S40sfsvc
%files
+%manifest sensor-framework.manifest
%defattr(-,root,root,-)
/usr/bin/sf_server
%{_sysconfdir}/rc.d/init.d/sfsvc