Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37561006
en ru br
Репозитории ALT
S:3.02-alt1
5.1: 1.54-alt1
4.1: 1.38-alt1
4.0: 1.29-alt1
3.0: 1.22-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Archive-Tar

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-Archive-Tar-1.76-alt1.patch
Скачать


 .gear/rules                                        |    2 +
 .../tags/96f9c2250b7544f49e155014ceb808f2be4a71da  |   13 +++
 .gear/tags/list                                    |    1 +
 lib/Archive/Tar/Constant.pm                        |   11 +--
 perl-Archive-Tar.spec                              |  108 ++++++++++++++++++++
 5 files changed, 126 insertions(+), 9 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/96f9c2250b7544f49e155014ceb808f2be4a71da b/.gear/tags/96f9c2250b7544f49e155014ceb808f2be4a71da
new file mode 100644
index 0000000..848a226
--- /dev/null
+++ b/.gear/tags/96f9c2250b7544f49e155014ceb808f2be4a71da
@@ -0,0 +1,13 @@
+object a9af408d71b33c0af8a0c98abb3d846aa19e6b33
+type commit
+tag 1.76
+tagger Alexey Tourbin <at@altlinux.ru> 1298730728 +0300
+
+1.76
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk1pDugACgkQfBKgtDjnu0aBmgCgg/F0vtI383PyECpfnXPsDj1u
+oAcAoLQ9FTNepF+kHML1vvMpF5/dd+17
+=1C6R
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..9b0c45c
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+96f9c2250b7544f49e155014ceb808f2be4a71da 1.76
diff --git a/lib/Archive/Tar/Constant.pm b/lib/Archive/Tar/Constant.pm
index abeb824..c733508 100644
--- a/lib/Archive/Tar/Constant.pm
+++ b/lib/Archive/Tar/Constant.pm
@@ -63,17 +63,10 @@ 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           => $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
-                                        eval { require IO::Uncompress::Bunzip2;
-                                               require IO::Compress::Bzip2; };
-                                    $ENV{'PERL5_AT_NO_BZIP'} || $@ ? 0 : 1 
-                                };
+use constant BZIP           => $ENV{'PERL5_AT_NO_BZIP'} ? 0 : require IO::Uncompress::Bunzip2 && require IO::Compress::Bzip2;
 
 use constant GZIP_MAGIC_NUM => qr/^(?:\037\213|\037\235)/;
 use constant BZIP_MAGIC_NUM => qr/^BZh\d/;
diff --git a/perl-Archive-Tar.spec b/perl-Archive-Tar.spec
new file mode 100644
index 0000000..0d8df9b
--- /dev/null
+++ b/perl-Archive-Tar.spec
@@ -0,0 +1,108 @@
+%define dist Archive-Tar
+Name: perl-%dist
+Version: 1.76
+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 Sat Feb 26 2011 (-bi)
+BuildRequires: perl-IO-String perl-IO-Zlib perl-Package-Constants perl-Pod-Parser 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
+%_bindir/ptargrep
+%dir %perl_vendor_privlib/Archive
+%perl_vendor_privlib/Archive/Tar.pm
+%dir %perl_vendor_privlib/Archive/Tar
+%perl_vendor_privlib/Archive/Tar/*.pm
+
+%changelog
+* Sat Feb 26 2011 Alexey Tourbin <at@altlinux.ru> 1.76-alt1
+- 1.74 -> 1.76
+
+* Tue Dec 28 2010 Alexey Tourbin <at@altlinux.ru> 1.74-alt1
+- 1.66 -> 1.74
+- packaged %_bindir/ptargrep
+
+* Fri Aug 13 2010 Alexey Tourbin <at@altlinux.ru> 1.66-alt1
+- 1.60 -> 1.66
+
+* Tue May 04 2010 Alexey Tourbin <at@altlinux.ru> 1.60-alt1
+- 1.58 -> 1.60
+- enabled dependency on IO::Compress::Bzip2
+
+* Thu Apr 01 2010 Alexey Tourbin <at@altlinux.ru> 1.58-alt1
+- 1.54 -> 1.58
+
+* Wed Sep 23 2009 Alexey Tourbin <at@altlinux.ru> 1.54-alt1
+- 1.52 -> 1.54
+
+* Fri Jun 19 2009 Alexey Tourbin <at@altlinux.ru> 1.52-alt1
+- 1.46 -> 1.52
+
+* Sun Apr 12 2009 Alexey Tourbin <at@altlinux.ru> 1.46-alt1
+- 1.44 -> 1.46
+
+* Fri Feb 27 2009 Alexey Tourbin <at@altlinux.ru> 1.44-alt1
+- 1.40 -> 1.44
+
+* Tue Nov 04 2008 Alexey Tourbin <at@altlinux.ru> 1.40-alt1
+- 1.38 -> 1.40
+
+* Fri Apr 18 2008 Alexey Tourbin <at@altlinux.ru> 1.38-alt1
+- 1.29 -> 1.38
+
+* Sat Mar 25 2006 Andrey Brindeew <abr@altlinux.org> 1.29-alt1
+- 1.29 release
+
+* Tue Aug 23 2005 Andrey Brindeew <abr@altlinux.org> 1.26-alt1
+- 1.26 release
+- perl-PerlIO added to BuildReqs list
+
+* Sun Nov 28 2004 Andrey Brindeew <abr@altlinux.org> 1.22-alt1
+- 1.22
+
+* Sun Oct 03 2004 Andrey Brindeew <abr@altlinux.org> 1.10-alt1
+- 1.10
+
+* Sat Mar 06 2004 Andrey Brindeew <abr@altlinux.ru> 1.08-alt1
+- 1.08
+
+* Mon Nov 24 2003 Andrey Brindeew <abr@altlinux.ru> 1.07-alt1
+- 1.07
+
+* Thu Sep 04 2003 Andrey Brindeew <abr@altlinux.ru> 1.05-alt1
+- 1.05
+
+* Thu Sep 04 2003 Andrey Brindeew <abr@altlinux.ru> 1.04-alt2
+- Syntax checking will be happy now.
+- URL was fixed.
+
+* Wed Jul 30 2003 Andrey Brindeew <abr@altlinux.ru> 1.04-alt1
+- First build for ALT Linux.
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin