Группа :: Разработка/Perl
Пакет: perl-Compress-Raw-Zlib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: perl-Compress-Raw-Zlib-2.033-alt1.patch
Скачать
Скачать
.gear/rules | 2 +
.../tags/2f2a24ccfae6c9f0fbbd88611bba064e8a66b4b6 | 13 ++++
.gear/tags/list | 1 +
MANIFEST | 21 ------
Makefile.PL | 2 -
lib/Compress/Raw/Zlib.pm | 13 +---
perl-Compress-Raw-Zlib.spec | 77 ++++++++++++++++++++
t/compress/CompTestUtils.pm | 2 +-
8 files changed, 96 insertions(+), 35 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..e0e2a07
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=Compress-Raw-Zlib-@version@-no-zlib-src base=Compress-Raw-Zlib-@version@
+diff: @version@:. . name=perl-Compress-Raw-Zlib-@version@-@release@.patch
diff --git a/.gear/tags/2f2a24ccfae6c9f0fbbd88611bba064e8a66b4b6 b/.gear/tags/2f2a24ccfae6c9f0fbbd88611bba064e8a66b4b6
new file mode 100644
index 0000000..1f6d061
--- /dev/null
+++ b/.gear/tags/2f2a24ccfae6c9f0fbbd88611bba064e8a66b4b6
@@ -0,0 +1,13 @@
+object aa80bc15703d728424d987c87a110f43031ace7e
+type commit
+tag 2.033
+tagger Alexey Tourbin <at@altlinux.ru> 1296945407 +0300
+
+2.033
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk1N0P8ACgkQfBKgtDjnu0YzOwCgqR/qjoEXqJX046nGRWl+5dTo
+ADQAoNVRnL2A+nUsRkb6Kt7r+6kA+04O
+=5Q/Y
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..ddeadbc
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+2f2a24ccfae6c9f0fbbd88611bba064e8a66b4b6 2.033
diff --git a/MANIFEST b/MANIFEST
index c5ad4a9..09a34b0 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -18,27 +18,6 @@ private/MakeUtil.pm
MANIFEST
ppport.h
config.in
-zlib-src/adler32.c
-zlib-src/compress.c
-zlib-src/crc32.c
-zlib-src/crc32.h
-zlib-src/deflate.c
-zlib-src/deflate.h
-zlib-src/infback.c
-zlib-src/inffast.c
-zlib-src/inffast.h
-zlib-src/inffixed.h
-zlib-src/inflate.c
-zlib-src/inflate.h
-zlib-src/inftrees.c
-zlib-src/inftrees.h
-zlib-src/trees.c
-zlib-src/trees.h
-zlib-src/uncompr.c
-zlib-src/zconf.h
-zlib-src/zlib.h
-zlib-src/zutil.c
-zlib-src/zutil.h
fallback/constants.h
fallback/constants.xs
lib/Compress/Raw/Zlib.pm
diff --git a/Makefile.PL b/Makefile.PL
index d999cb4..94bc4d0 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -82,8 +82,6 @@ WriteMakefile(
: (LIBS => [ "-L$ZLIB_LIB -lz " ])
),
- INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
-
((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
('LICENSE' => 'perl') : ()),
diff --git a/lib/Compress/Raw/Zlib.pm b/lib/Compress/Raw/Zlib.pm
index 8b17dcc..611e413 100644
--- a/lib/Compress/Raw/Zlib.pm
+++ b/lib/Compress/Raw/Zlib.pm
@@ -3,7 +3,6 @@ package Compress::Raw::Zlib;
require 5.004 ;
require Exporter;
-use AutoLoader;
use Carp ;
#use Parse::Parameters;
@@ -87,16 +86,8 @@ use constant FLAG_ADLER => 4 ;
use constant FLAG_CONSUME_INPUT => 8 ;
use constant FLAG_LIMIT_OUTPUT => 16 ;
-eval {
- require XSLoader;
- XSLoader::load('Compress::Raw::Zlib', $XS_VERSION);
- 1;
-}
-or do {
- require DynaLoader;
- local @ISA = qw(DynaLoader);
- bootstrap Compress::Raw::Zlib $XS_VERSION ;
-};
+require XSLoader;
+XSLoader::load('Compress::Raw::Zlib', $XS_VERSION);
use constant Parse_any => 0x01;
diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec
new file mode 100644
index 0000000..ea5fef0
--- /dev/null
+++ b/perl-Compress-Raw-Zlib.spec
@@ -0,0 +1,77 @@
+%define dist Compress-Raw-Zlib
+Name: perl-%dist
+Version: 2.033
+Release: alt1
+
+Summary: Low-level interface to the zlib compression library
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version-no-zlib-src.tar
+Patch: %name-%version-%release.patch
+
+# Automatically added by buildreq on Fri Feb 11 2011
+BuildRequires: perl-Test-NoWarnings perl-Test-Pod zlib-devel
+
+%description
+The Compress::Raw::Zlib module provides a Perl interface to the zlib
+compression library.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+rm -rfv zlib-src
+rm -rv t/Test/
+cat >config.in <<EOF
+BUILD_ZLIB = False
+INCLUDE = %_includedir
+LIB = %_libdir
+OLD_ZLIB = False
+GZIP_OS_CODE = 3
+EOF
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README examples
+%perl_vendor_archlib/Compress
+%perl_vendor_autolib/Compress
+
+%changelog
+* Fri Feb 11 2011 Alexey Tourbin <at@altlinux.ru> 2.033-alt1
+- 2.030 -> 2.033
+
+* Mon Sep 20 2010 Alexey Tourbin <at@altlinux.ru> 2.030-alt1.1
+- rebuilt for perl-5.12
+
+* Thu Aug 05 2010 Alexey Tourbin <at@altlinux.ru> 2.030-alt1
+- 2.027 -> 2.030
+
+* Tue May 04 2010 Alexey Tourbin <at@altlinux.ru> 2.027-alt1
+- 2.025 -> 2.027
+
+* Sun Apr 04 2010 Alexey Tourbin <at@altlinux.ru> 2.025-alt1
+- 2.021 -> 2.025
+
+* Wed Sep 16 2009 Alexey Tourbin <at@altlinux.ru> 2.021-alt1
+- 2.020 -> 2.021
+
+* Tue Jun 16 2009 Alexey Tourbin <at@altlinux.ru> 2.020-alt1
+- 2.017 -> 2.020
+
+* Wed Apr 08 2009 Alexey Tourbin <at@altlinux.ru> 2.017-alt1
+- 2.012 -> 2.017
+
+* Sat Aug 09 2008 Alexey Tourbin <at@altlinux.ru> 2.012-alt1
+- 2.011 -> 2.012
+
+* Thu Jun 12 2008 Alexey Tourbin <at@altlinux.ru> 2.011-alt1
+- 2.010 -> 2.011
+
+* Thu May 15 2008 Alexey Tourbin <at@altlinux.ru> 2.010-alt1
+- initial revision
diff --git a/t/compress/CompTestUtils.pm b/t/compress/CompTestUtils.pm
index f21045d..6b763fe 100644
--- a/t/compress/CompTestUtils.pm
+++ b/t/compress/CompTestUtils.pm
@@ -423,7 +423,7 @@ sub compressBuffer
}
our ($AnyUncompressError);
-BEGIN
+if (0)
{
eval ' use IO::Uncompress::AnyUncompress qw($AnyUncompressError); ';
}