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

diff --git a/packaging/ail.manifest b/packaging/ail.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 708b333..b4262aa
@@ -5,6 +5,7 @@ Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/ail.manifest 
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 BuildRequires:  cmake
@@ -30,6 +31,7 @@ Application Information Library (devel)
 %setup -q
 
 %build
+cp %{SOURCE1001} .
 CFLAGS+=" -fpic"
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_PKGTYPE=rpm
 
@@ -66,12 +68,14 @@ update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
 %postun
 
 %files
+%manifest ail.manifest
 /usr/lib/libail.so.0
 /usr/lib/libail.so.0.1.0
 /usr/bin/ail_initdb
 /usr/share/install-info/*
 
 %files devel
+%manifest ail.manifest
 /usr/include/ail.h
 /usr/lib/libail.so
 /usr/lib/pkgconfig/ail.pc