Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563455
en ru br
ALT Linux repos
S:1.52-alt1
5.0: 0.64-alt1
4.1: 0.45-alt1
4.0: 0.23-alt2
3.0: 0.23-alt1.1

Group :: Development/Perl
RPM: perl-Text-CSV_XS

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-Text-CSV_XS-0.80-alt1.patch
Download


 .gear/rules                                        |    2 +
 .../tags/eb9cd92fb6a552b200e8d79bcd78f352eacd2ac1  |   13 +++
 .gear/tags/list                                    |    1 +
 CSV_XS.pm                                          |    8 +-
 Makefile.PL                                        |   76 +---------------
 perl-Text-CSV_XS.spec                              |   98 ++++++++++++++++++++
 6 files changed, 119 insertions(+), 79 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..7ce30a1
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=Text-CSV_XS-@version@
+diff: @version@:. . name=perl-Text-CSV_XS-@version@-@release@.patch
diff --git a/.gear/tags/eb9cd92fb6a552b200e8d79bcd78f352eacd2ac1 b/.gear/tags/eb9cd92fb6a552b200e8d79bcd78f352eacd2ac1
new file mode 100644
index 0000000..1317893
--- /dev/null
+++ b/.gear/tags/eb9cd92fb6a552b200e8d79bcd78f352eacd2ac1
@@ -0,0 +1,13 @@
+object 862c6d0edc99e74d4c8a95b48175c61dd16b8c7b
+type commit
+tag 0.80
+tagger Alexey Tourbin <at@altlinux.ru> 1293311311 +0300
+
+0.80
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk0WXU8ACgkQfBKgtDjnu0ZYkgCeL8hhquSDVVyyUXwwwCC4S/RY
+ufoAoNmcJi2cJjczwyecuW/NOgk9WhJP
+=In92
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..6f46f1f
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+eb9cd92fb6a552b200e8d79bcd78f352eacd2ac1 0.80
diff --git a/CSV_XS.pm b/CSV_XS.pm
index 8d3f310..f2a753b 100644
--- a/CSV_XS.pm
+++ b/CSV_XS.pm
@@ -26,13 +26,13 @@ require 5.005;
 use strict;
 use warnings;
 
-use DynaLoader ();
 use Carp;
 
-use vars   qw( $VERSION @ISA );
+use vars   qw( $VERSION );
 $VERSION = "0.80";
-@ISA     = qw( DynaLoader );
-bootstrap Text::CSV_XS $VERSION;
+
+require XSLoader;
+XSLoader::load(__PACKAGE__, $VERSION);
 
 sub PV { 0 }
 sub IV { 1 }
diff --git a/Makefile.PL b/Makefile.PL
index be00929..15f7ee3 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,25 +7,12 @@ use strict;
 
 use ExtUtils::MakeMaker;
 
-eval { require Text::CSV_XS };
-if (!$@ && $Text::CSV_XS::VERSION < 0.15) {
-    print <<'MSG';
-
-You seem to have installed a previous version of the Text::CSV_XS module.
-Note that you might encounter problems in existing applications (not the
-DBD::CSV driver) due to incompatible changes in the print and getline
-methods. See "perldoc CSV_XS.pm" for details.
-
-MSG
-    sleep 5;
-    }
-
 my %wm = (
     NAME         => "Text::CSV_XS",
     ABSTRACT     => "Comma-Separated Values manipulation routines",
     AUTHOR       => "H.Merijn Brand <h.merijn\@xs4all.nl>",
     VERSION_FROM => "CSV_XS.pm",
-    PREREQ_PM	 => { "DynaLoader"	=> 0,
+    PREREQ_PM	 => { "XSLoader"	=> 0,
 		      "Config"		=> 0,
 		      "IO::Handle"	=> 0,
 		      "Test::More"	=> 0,
@@ -46,64 +33,3 @@ $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl";
 my $rv = WriteMakefile (%wm);
 
 1;
-
-package MY;
-
-sub postamble
-{
-    my $valgrind = join " ", qw(
-	PERL_DESTRUCT_LEVEL=2 PERL_DL_NONLAZY=1
-	    valgrind
-		--suppressions=sandbox/perl.supp
-		--leak-check=yes
-		--leak-resolution=high
-		--show-reachable=yes
-		--num-callers=50
-		--log-fd=3
-		$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
-		    "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')"
-		    $(TEST_FILES) 3>valgrind.log
-		    );
-
-    my $min_vsn = ($] >= 5.010 && -d "xt" && -d "tmp" && ($ENV{AUTOMATED_TESTING} || 0) != 1)
-	? join "\n" =>
-	    'test ::',
-	    '	-@env TEST_FILES="xt/*.t" make -e test_dynamic',
-	    ''
-	: "";
-    join "\n" =>
-	'cover test_cover:',
-	'	ccache -C',
-	'	-@rm -f *.gc??',
-	'	cover -test',
-	'',
-	'leakcheck:',
-	"	$valgrind",
-	'	-@tail -14 valgrind.log',
-	'',
-	'leaktest:',
-	q{	sandbox/leaktest  $(FULLPERLRUN) "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)},
-	'',
-	'leaktrace:',
-	q{	sandbox/leaktrace $(FULLPERLRUN) "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)},
-	'',
-	'spellcheck:',
-	'	pod-spell-check --aspell',
-	'',
-	'checkmeta:	spellcheck',
-	'	perl sandbox/genPPPort_h.pl',
-	'	perl sandbox/genMETA.pl -c',
-	'',
-	'fixmeta:	distmeta',
-	'	perl sandbox/genMETA.pl',
-	'',
-	'tgzdist:	checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
-	'	-@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
-	'	-@cpants_lint.pl $(DISTVNAME).tgz',
-	'	-@rm -f Debian_CPANTS.txt',
-	'',
-	'test_speed: pure_all',
-	'	PERL_DL_NONLAZY=1 $(FULLPERLRUN) -I"$(INST_LIB)" -I"$(INST_ARCHLIB)" examples/speed.pl',
-	'',
-	$min_vsn;
-    } # postamble
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
new file mode 100644
index 0000000..cce3055
--- /dev/null
+++ b/perl-Text-CSV_XS.spec
@@ -0,0 +1,98 @@
+%define dist Text-CSV_XS
+Name: perl-%dist
+Version: 0.80
+Release: alt1
+
+Summary: Comma-separated values manipulation routines
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+# Automatically added by buildreq on Sun Dec 26 2010
+BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage
+
+%description
+Text::CSV_XS provides facilities for the composition and decomposition of
+comma-separated values.  An instance of the Text::CSV_XS class can combine
+fields into a CSV string and parse a CSV string into fields.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc ChangeLog README
+%perl_vendor_archlib/Text*
+%perl_vendor_autolib/Text*
+
+%changelog
+* Sun Dec 26 2010 Alexey Tourbin <at@altlinux.ru> 0.80-alt1
+- 0.73 -> 0.80
+
+* Fri Nov 05 2010 Vladimir Lettiev <crux@altlinux.ru> 0.73-alt1.1
+- rebuilt with perl 5.12
+
+* Thu Jun 10 2010 Alexey Tourbin <at@altlinux.ru> 0.73-alt1
+- 0.70 -> 0.73
+
+* Tue Feb 16 2010 Alexey Tourbin <at@altlinux.ru> 0.70-alt1
+- 0.68 -> 0.70
+
+* Thu Oct 08 2009 Alexey Tourbin <at@altlinux.ru> 0.68-alt1
+- 0.64 -> 0.68
+
+* Tue Apr 07 2009 Alexey Tourbin <at@altlinux.ru> 0.64-alt1
+- 0.60 -> 0.64
+
+* Sat Mar 07 2009 Alexey Tourbin <at@altlinux.ru> 0.60-alt1
+- 0.57 -> 0.60
+
+* Mon Oct 27 2008 Alexey Tourbin <at@altlinux.ru> 0.57-alt1
+- 0.54 -> 0.57
+
+* Sun Sep 07 2008 Alexey Tourbin <at@altlinux.ru> 0.54-alt1
+- 0.52 -> 0.54
+
+* Tue Jul 15 2008 Alexey Tourbin <at@altlinux.ru> 0.52-alt1
+- 0.50 -> 0.52
+
+* Thu Jun 12 2008 Alexey Tourbin <at@altlinux.ru> 0.50-alt1
+- 0.45 -> 0.50
+
+* Thu Apr 24 2008 Alexey Tourbin <at@altlinux.ru> 0.45-alt1
+- 0.41 -> 0.45
+
+* Sat Apr 12 2008 Alexey Tourbin <at@altlinux.ru> 0.41-alt1
+- 0.36 -> 0.41
+
+* Fri Mar 07 2008 Alexey Tourbin <at@altlinux.ru> 0.36-alt1
+- 0.31 -> 0.36
+
+* Thu Jul 26 2007 Alexey Tourbin <at@altlinux.ru> 0.31-alt1
+- 0.29 -> 0.31
+
+* Fri Jun 08 2007 Alexey Tourbin <at@altlinux.ru> 0.29-alt1
+- 0.23 -> 0.29
+
+* Thu Apr 19 2007 Alexey Tourbin <at@altlinux.ru> 0.23-alt2
+- cleanup
+
+* Sat Feb 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.23-alt1.1
+- Rebuilt with rpm-build-perl-0.5.1.
+
+* Tue Jul 08 2003 Michael Shigorin <mike@altlinux.ru> 0.23-alt1
+- alt1
+- spec file provided by Valentin Solomko
+
+* Thu May 15 2003 Valentyn Solomko <vesna@slovnyk.org> 0.23-val1
+- built for ALT Linux
+
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin