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

diff --git a/packaging/gdbm.manifest b/packaging/gdbm.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index dc3e05f..57f8da2 100644 (file)
@@ -14,6 +14,7 @@ License:    GPLv2+ and LGPLv2+
 URL:        http://directory.fsf.org/GNU/gdbm.html
 Source0:    http://ftp.gnu.org/pub/gnu/gdbm/gdbm-%{version}.tar.bz2
 Source100:  gdbm.yaml
+Source1001: packaging/gdbm.manifest 
 Patch0:     gdbm-%{version}.dif
 Patch1:     gdbm-protoize_dbm_headers.patch
 Patch2:     gdbm-prototype_static_functions.patch
@@ -58,6 +59,7 @@ to develop applications that require these.
 # << setup
 
 %build
+cp %{SOURCE1001} .
 # >> build pre
 aclocal
 autoreconf --force --install
@@ -92,6 +94,7 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest gdbm.manifest
 %defattr(-,root,root,-)
 # >> files
 %doc COPYING
@@ -101,6 +104,7 @@ rm -rf %{buildroot}
 
 
 %files devel
+%manifest gdbm.manifest
 %defattr(-,root,root,-)
 # >> files devel
 %{_prefix}/%{_lib}/libgdbm.so