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

diff --git a/packaging/capi-system-power.manifest b/packaging/capi-system-power.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 286c281..8161380 100644 (file)
@@ -6,6 +6,7 @@ Release:    7
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/capi-system-power.manifest 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(pmapi)
@@ -33,6 +34,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}
 
@@ -49,9 +51,11 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest capi-system-power.manifest
 %{_libdir}/libcapi-system-power.so.*
 
 %files devel
+%manifest capi-system-power.manifest
 %{_includedir}/system/power.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/libcapi-system-power.so