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

diff --git a/packaging/alsa-lib.manifest b/packaging/alsa-lib.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 5d2cb9e..3b28cd4 100644 (file)
@@ -7,6 +7,7 @@ Group:      System/Libraries
 License:    LGPLv2+
 URL:        http://www.alsa-project.org/
 Source0:    ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/alsa-lib.manifest 
 
 
 %description
@@ -43,6 +44,7 @@ ALSA Library package for multimedia framework middleware package
 
 
 %build
+cp %{SOURCE1001} .
 export CFLAGS+=" -fPIC" 
 export LDFLAGS+=" -Wl,--warn-unresolved-symbols -Wl,--hash-style=both -Wl,--as-needed"
 chmod +x autogen.sh
@@ -84,15 +86,18 @@ rm -f %{buildroot}/%{_bindir}/aserver
 %postun -n libasound -p /sbin/ldconfig
 
 %files
+%manifest alsa-lib.manifest
 %defattr(-,root,root,-)
 
 %files -n libasound
+%manifest alsa-lib.manifest
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so.*
 %{_libdir}/alsa-lib/smixer/*.so
 %{_datadir}/alsa/*
 
 %files -n libasound-devel
+%manifest alsa-lib.manifest
 %defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/lib*.so