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

diff --git a/packaging/libnl2.manifest b/packaging/libnl2.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 2248f10..b475ff2 100644 (file)
@@ -7,6 +7,7 @@ Release:    2
 Group:      System/Network
 License:    GNU LESSER GENERAL PUBLIC LICENSE Version 2.1
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/libnl2.manifest 
 BuildRequires:  bison
 BuildRequires:  flex
 
@@ -33,6 +34,7 @@ libnl2.
 ./autogen.sh
 
 %build
+cp %{SOURCE1001} .
 CFLAGS="$RPM_OPT_FLAGS" \
        ./configure \
        --prefix=/usr
@@ -48,10 +50,12 @@ rm -rf %{buildroot}
 rm %{buildroot}/usr/etc/libnl/pktloc
 
 %files
+%manifest libnl2.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libnl*.so.*
 
 %files devel
+%manifest libnl2.manifest
 %defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/pkgconfig/*