Add default Smack manifest for capi-system-device.spec 1.0_post
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:54 +0000 (17:50 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:54 +0000 (17:50 -0700)
Change-Id: Ifea56dd08310c0f8e91dd2b12e04b846595fd3f0
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/capi-system-device.manifest [new file with mode: 0644]
packaging/capi-system-device.spec

diff --git a/packaging/capi-system-device.manifest b/packaging/capi-system-device.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 599ca11dd2e5cdfb321194bf1e0fa6afb2325708..ea98e2a66db29d1ec41edd4b7bf0cc8c15b7178f 100644 (file)
@@ -5,6 +5,7 @@ Release:    6
 Group:      TO_BE/FILLED_IN
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/capi-system-device.manifest 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(devman)
@@ -32,6 +33,7 @@ Requires: %{name} = %{version}-%{release}
 
 
 %build
+cp %{SOURCE1001} .
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 
@@ -47,9 +49,11 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest capi-system-device.manifest
 %{_libdir}/libcapi-system-device.so.*
 
 %files devel
+%manifest capi-system-device.manifest
 %{_includedir}/system/device.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/libcapi-system-device.so