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

diff --git a/packaging/zlib.manifest b/packaging/zlib.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 3b71be0..7eebeee 100644 (file)
@@ -8,6 +8,7 @@ Group:      System/Libraries
 License:    zlib and Boost
 URL:        http://www.gzip.org/zlib/
 Source0:    http://www.zlib.net/zlib-%{version}.tar.gz
+Source1001: packaging/zlib.manifest 
 Patch0:     zlib-1.2.4-autotools.patch
 Patch1:     zlib-1.2.5-lfs-decls-bmc-11751.patch
 Requires(post): /sbin/ldconfig
@@ -79,6 +80,7 @@ iconv -f windows-1252 -t utf-8 <ChangeLog >ChangeLog.tmp
 mv ChangeLog.tmp ChangeLog
 
 %build
+cp %{SOURCE1001} .
 CFLAGS=$RPM_OPT_FLAGS ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
 
 #ensure 64 offset versions are compiled (do not override CFLAGS blindly)
@@ -152,22 +154,27 @@ make test
 %docs_package
 
 %files
+%manifest zlib.manifest
 /%{_lib}/libz.so.*
 
 
 %files static
+%manifest zlib.manifest
 %{_libdir}/libz.a
 
 %files -n minizip
+%manifest zlib.manifest
 %{_libdir}/libminizip.so.*
 
 %files -n minizip-devel
+%manifest zlib.manifest
 %dir %{_includedir}/minizip
 %{_includedir}/minizip/*.h
 %{_libdir}/libminizip.so
 %{_libdir}/pkgconfig/minizip.pc
 
 %files devel
+%manifest zlib.manifest
 %{_libdir}/libz.so
 %{_includedir}/zconf.h
 %{_includedir}/zlib.h