|
|
@@ -24,7 +24,7 @@
|
|
|
##
|
|
|
|
|
|
# versions of individual parts
|
|
|
-%define V_compress_zlib 1.22
|
|
|
+%define V_compress_zlib 1.30
|
|
|
%define V_compress_lzo 1.08
|
|
|
%define V_compress_bzip2 1.00
|
|
|
%define V_io_zlib 1.01
|
|
|
@@ -38,8 +38,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20030723
|
|
|
-Release: 20030723
|
|
|
+Version: 20031029
|
|
|
+Release: 20031029
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Compress/Compress-Zlib-%{V_compress_zlib}.tar.gz
|
|
|
@@ -78,6 +78,9 @@ AutoReqProv: no
|
|
|
|
|
|
# build and install individual modules
|
|
|
( cd Compress-Zlib-%{V_compress_zlib}
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;ZLIB_LIB/zlib\.h;ZLIB_INCLUDE/zlib.h;g' \
|
|
|
+ Makefile.PL
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;^\(LIB[^=]*\)=.*;\1= %{l_prefix}/lib;' \
|
|
|
-e 's;^\(INCLUDE[^=]*\)=.*;\1= %{l_prefix}/include;' \
|