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

diff --git a/packaging/capi-system-info.manifest b/packaging/capi-system-info.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
old mode 100755 (executable)
new mode 100644 (file)
index e7717ed..1547789
@@ -5,6 +5,7 @@ Release:    12
 Group:      TO_BE/FILLED_IN
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/capi-system-info.manifest 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(vconf)
@@ -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-info.manifest
 %{_libdir}/libcapi-system-info.so.*
 
 %files devel
+%manifest capi-system-info.manifest
 %{_includedir}/system/system_info.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/libcapi-system-info.so