.gear/rules | 2 + .../tags/0ca209e9f4c4563c3c2f0f916054ea69295fada9 | 13 +++ .gear/tags/list | 1 + lib/Archive/Tar/Constant.pm | 5 +- perl-Archive-Tar.spec | 90 ++++++++++++++++++++ 5 files changed, 107 insertions(+), 4 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..1c01c38 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=Archive-Tar-@version@ +diff: @version@:. . name=perl-Archive-Tar-@version@-@release@.patch diff --git a/.gear/tags/0ca209e9f4c4563c3c2f0f916054ea69295fada9 b/.gear/tags/0ca209e9f4c4563c3c2f0f916054ea69295fada9 new file mode 100644 index 0000000..c91ec85 --- /dev/null +++ b/.gear/tags/0ca209e9f4c4563c3c2f0f916054ea69295fada9 @@ -0,0 +1,13 @@ +object f47795c93eb259863039736b9e3e4f32d78b2d77 +type commit +tag 1.54 +tagger Alexey Tourbin 1253721283 +0400 + +1.54 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iEYEABECAAYFAkq6RMMACgkQfBKgtDjnu0ZcagCfRDJ+FH/IuNEFtqCZ7GpzJGtW +P/UAn2GGk3+afGAJZWeUQ/SivnJZwHR1 +=xMpp +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..4784190 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +0ca209e9f4c4563c3c2f0f916054ea69295fada9 1.54 diff --git a/lib/Archive/Tar/Constant.pm b/lib/Archive/Tar/Constant.pm index aef1d62..204683a 100644 --- a/lib/Archive/Tar/Constant.pm +++ b/lib/Archive/Tar/Constant.pm @@ -63,10 +63,7 @@ use constant LONGLINK_NAME => '././@LongLink'; use constant PAX_HEADER => 'pax_global_header'; ### allow ZLIB to be turned off using ENV: DEBUG only -use constant ZLIB => do { !$ENV{'PERL5_AT_NO_ZLIB'} and - eval { require IO::Zlib }; - $ENV{'PERL5_AT_NO_ZLIB'} || $@ ? 0 : 1 - }; +use constant ZLIB => do { $ENV{'PERL5_AT_NO_ZLIB'} ? 0 : require IO::Zlib }; ### allow BZIP to be turned off using ENV: DEBUG only use constant BZIP => do { !$ENV{'PERL5_AT_NO_BZIP'} and diff --git a/perl-Archive-Tar.spec b/perl-Archive-Tar.spec new file mode 100644 index 0000000..33546e8 --- /dev/null +++ b/perl-Archive-Tar.spec @@ -0,0 +1,90 @@ +%define dist Archive-Tar +Name: perl-%dist +Version: 1.54 +Release: alt1 + +Summary: Module for creation and manipulation of tar archives +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 Wed Sep 23 2009 +BuildRequires: perl-IO-String perl-IO-Zlib perl-Package-Constants perl-PerlIO perl-Test-Pod perl-Text-Diff + +%description +Archive::Tar provides an object oriented mechanism for handling tar files. +It provides class methods for quick and easy files handling while also +allowing for the creation of tar file objects for custom manipulation. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc CHANGES README +%_bindir/ptar +%_bindir/ptardiff +%dir %perl_vendor_privlib/Archive +%perl_vendor_privlib/Archive/Tar.pm +%dir %perl_vendor_privlib/Archive/Tar +%perl_vendor_privlib/Archive/Tar/*.pm + +%changelog +* Wed Sep 23 2009 Alexey Tourbin 1.54-alt1 +- 1.52 -> 1.54 + +* Fri Jun 19 2009 Alexey Tourbin 1.52-alt1 +- 1.46 -> 1.52 + +* Sun Apr 12 2009 Alexey Tourbin 1.46-alt1 +- 1.44 -> 1.46 + +* Fri Feb 27 2009 Alexey Tourbin 1.44-alt1 +- 1.40 -> 1.44 + +* Tue Nov 04 2008 Alexey Tourbin 1.40-alt1 +- 1.38 -> 1.40 + +* Fri Apr 18 2008 Alexey Tourbin 1.38-alt1 +- 1.29 -> 1.38 + +* Sat Mar 25 2006 Andrey Brindeew 1.29-alt1 +- 1.29 release + +* Tue Aug 23 2005 Andrey Brindeew 1.26-alt1 +- 1.26 release +- perl-PerlIO added to BuildReqs list + +* Sun Nov 28 2004 Andrey Brindeew 1.22-alt1 +- 1.22 + +* Sun Oct 03 2004 Andrey Brindeew 1.10-alt1 +- 1.10 + +* Sat Mar 06 2004 Andrey Brindeew 1.08-alt1 +- 1.08 + +* Mon Nov 24 2003 Andrey Brindeew 1.07-alt1 +- 1.07 + +* Thu Sep 04 2003 Andrey Brindeew 1.05-alt1 +- 1.05 + +* Thu Sep 04 2003 Andrey Brindeew 1.04-alt2 +- Syntax checking will be happy now. +- URL was fixed. + +* Wed Jul 30 2003 Andrey Brindeew 1.04-alt1 +- First build for ALT Linux. +