summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:40 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:40 -0700
commit20b1c1e849512fedddf1f2802d8027a05114205f (patch)
tree737ffb7601ffea19d290d8d79083276d51f5533b
parentdaa7a5a7a239e6b9a80456593eaee9ec1ab61344 (diff)
downloadlibslp-pm-1.0_post.tar.gz
libslp-pm-1.0_post.tar.bz2
libslp-pm-1.0_post.zip
Add default Smack manifest for libslp-pm.spec1.0_post
Change-Id: I303e2a71970e84675cc7ded57888dfea0799a84f Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/libslp-pm.manifest5
-rw-r--r--[-rwxr-xr-x]packaging/libslp-pm.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libslp-pm.manifest b/packaging/libslp-pm.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libslp-pm.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libslp-pm.spec b/packaging/libslp-pm.spec
index a2be75b..67381f4 100755..100644
--- a/packaging/libslp-pm.spec
+++ b/packaging/libslp-pm.spec
@@ -5,6 +5,7 @@ Release: 2.1
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: libslp-pm-%{version}.tar.bz2
+Source1001: packaging/libslp-pm.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
@@ -30,6 +31,7 @@ SLP power manager client library (devel)
%build
+cp %{SOURCE1001} .
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
@@ -47,11 +49,13 @@ rm -rf %{buildroot}
%files
+%manifest libslp-pm.manifest
%defattr(-,root,root,-)
%{_libdir}/libpmapi.so.1.2
%files devel
+%manifest libslp-pm.manifest
%defattr(-,root,root,-)
%{_includedir}/pmapi.h
%{_includedir}/SLP_pm_PG.h