.gear/rules | 2 + .../tags/5316c3cf87af0e4b9dfb9e384a40e0b6bf7cf4c4 | 13 +++++ .gear/tags/list | 1 + Zlib.pm | 8 +-- perl-IO-Zlib.spec | 56 ++++++++++++++++++++ 5 files changed, 74 insertions(+), 6 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4a66824 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=IO-Zlib-@version@ +diff: @version@:. . name=perl-IO-Zlib-@version@-@release@.patch diff --git a/.gear/tags/5316c3cf87af0e4b9dfb9e384a40e0b6bf7cf4c4 b/.gear/tags/5316c3cf87af0e4b9dfb9e384a40e0b6bf7cf4c4 new file mode 100644 index 0000000..9189b55 --- /dev/null +++ b/.gear/tags/5316c3cf87af0e4b9dfb9e384a40e0b6bf7cf4c4 @@ -0,0 +1,13 @@ +object b950bdb734c860dc69a8893d88e06f0a449eb386 +type commit +tag 1.10 +tagger Alexey Tourbin 1247691898 +0400 + +1.10 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkpeRHoACgkQfBKgtDjnu0YydQCggnPcXjk21O+0qTpbkXdUValz +uxUAnRq8wIB87JiT3aktyT8wf0Uba8rP +=yD83 +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..27154e0 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +5316c3cf87af0e4b9dfb9e384a40e0b6bf7cf4c4 1.10 diff --git a/Zlib.pm b/Zlib.pm index 55534b4..738cb70 100644 --- a/Zlib.pm +++ b/Zlib.pm @@ -291,18 +291,14 @@ use vars qw($VERSION $AUTOLOAD @ISA); use Carp; use Fcntl qw(SEEK_SET); -my $has_Compress_Zlib; +require Compress::Zlib; +my $has_Compress_Zlib = 1; my $aliased; sub has_Compress_Zlib { $has_Compress_Zlib; } -BEGIN { - eval { require Compress::Zlib }; - $has_Compress_Zlib = $@ || $Compress::Zlib::VERSION < 2.000 ? 0 : 1; -} - use Symbol; use Tie::Handle; diff --git a/perl-IO-Zlib.spec b/perl-IO-Zlib.spec new file mode 100644 index 0000000..1c24ae6 --- /dev/null +++ b/perl-IO-Zlib.spec @@ -0,0 +1,56 @@ +%define dist IO-Zlib +Name: perl-%dist +Version: 1.10 +Release: alt1 + +Summary: IO:: style interface to Compress::Zlib +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +BuildArch: noarch + +# Automatically added by buildreq on Thu Jul 16 2009 +BuildRequires: perl-Compress-Zlib perl-devel + +%description +This modules provides an IO:: style interface to the Compress::Zlib +package. The main advantage is that you can use an IO::Zlib object +in much the same way as an IO::File object so you can have common +code that doesn't know which sort of file it is using. + +%prep +%setup -q -n %dist-%version + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc ChangeLog README +%dir %perl_vendor_privlib/IO +%perl_vendor_privlib/IO/Zlib.pm + +%changelog +* Thu Jul 16 2009 Alexey Tourbin 1.10-alt1 +- 1.09 -> 1.10 + +* Thu Jun 12 2008 Alexey Tourbin 1.09-alt1 +- 1.04 -> 1.09 + +* Sat Feb 19 2005 ALT QA Team Robot 1.04-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Sun Nov 28 2004 Andrey Brindeew 1.04-alt1 +- 1.04 + +* Mon Nov 24 2003 Andrey Brindeew 1.01-alt2 +- Url and Summary tags was fixed. + +* Wed Jul 30 2003 Andrey Brindeew 1.01-alt1 +- First build for ALT Linux.