openSUSE Commits
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2014
- 1 participants
- 1675 discussions
Hello community,
here is the log from the commit of package ucode-intel for openSUSE:Factory checked in at 2014-09-22 09:23:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ucode-intel (Old)
and /work/SRC/openSUSE:Factory/.ucode-intel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ucode-intel"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ucode-intel/ucode-intel.changes 2014-07-04 09:34:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ucode-intel.new/ucode-intel.changes 2014-09-22 09:23:44.000000000 +0200
@@ -1,0 +2,14 @@
+Fri Sep 19 12:46:55 UTC 2014 - trenn(a)suse.de
+
+- Do not try to reload/update microcode at runtime after package
+ installation. Only supported way of updating microcode is via
+ early microcode update via initrd. bnc#896736
+
+-------------------------------------------------------------------
+Wed Sep 17 09:13:25 UTC 2014 - trenn(a)suse.de
+
+- Update to Intel microcode version 20140624 (bnc#896736, fate#317896)
+ This microcode disables lock elision on CPUs which are known to
+ not work reliable with this feature
+
+-------------------------------------------------------------------
@@ -9,0 +24 @@
+ (bnc#894160)
Old:
----
microcode-20140624.tgz
New:
----
microcode-20140913.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ucode-intel.spec ++++++
--- /var/tmp/diff_new_pack.f2H0Oe/_old 2014-09-22 09:23:45.000000000 +0200
+++ /var/tmp/diff_new_pack.f2H0Oe/_new 2014-09-22 09:23:45.000000000 +0200
@@ -16,8 +16,9 @@
#
+
Name: ucode-intel
-Version: 20140624
+Version: 20140913
Release: 0
Summary: Microcode Updates for Intel x86/x86-64 CPUs
License: SUSE-Firmware
@@ -51,7 +52,6 @@
%post
%{?regenerate_initrd_post}
-test -f /sys/devices/system/cpu/microcode/reload && /bin/echo 1 > /sys/devices/system/cpu/microcode/reload || exit 0
%posttrans
%{?regenerate_initrd_posttrans}
++++++ microcode-20140624.tgz -> microcode-20140913.tgz ++++++
++++ 9811 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Safe-Isa for openSUSE:Factory checked in at 2014-09-22 09:23:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Safe-Isa (Old)
and /work/SRC/openSUSE:Factory/.perl-Safe-Isa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Safe-Isa"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Safe-Isa/perl-Safe-Isa.changes 2014-03-18 13:59:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Safe-Isa.new/perl-Safe-Isa.changes 2014-09-22 09:23:40.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 19 12:15:44 UTC 2014 - coolo(a)suse.com
+
+- updated to 1.000005
+ - comment blessed use so people who don't know perl stop trying to break it
+ - add link to lightning talk given at YAPC::NA 2013
+
+-------------------------------------------------------------------
Old:
----
Safe-Isa-1.000004.tar.gz
New:
----
Safe-Isa-1.000005.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Safe-Isa.spec ++++++
--- /var/tmp/diff_new_pack.QZkEzT/_old 2014-09-22 09:23:41.000000000 +0200
+++ /var/tmp/diff_new_pack.QZkEzT/_new 2014-09-22 09:23:41.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Safe-Isa
-Version: 1.000004
+Version: 1.000005
Release: 0
%define cpan_name Safe-Isa
Summary: Call isa, can, does and DOES safely on things that may not be objects
@@ -68,6 +68,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
++++++ Safe-Isa-1.000004.tar.gz -> Safe-Isa-1.000005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/Changes new/Safe-Isa-1.000005/Changes
--- old/Safe-Isa-1.000004/Changes 2013-09-19 06:30:46.000000000 +0200
+++ new/Safe-Isa-1.000005/Changes 2014-08-17 00:15:44.000000000 +0200
@@ -1,17 +1,21 @@
Revision history for Safe-Isa
-1.000004 2013-09-18
+1.000005 - 2014-08-16
+ - comment blessed use so people who don't know perl stop trying to break it
+ - add link to lightning talk given at YAPC::NA 2013
+
+1.000004 - 2013-09-18
- fixed slightly mangled metadata from last release
-1.000003 2013-03-25
+1.000003 - 2013-03-25
- fix NAME in Makefile.PL (RT#84212)
-1.000002 2012-07-19
- - Document why we don't try and handle class namesZ
+1.000002 - 2012-07-19
+ - Document why we don't try and handle class names
- Missed another stupid doc typo (thanks MJD)
-1.000001 2012-07-18
+1.000001 - 2012-07-18
- Fix stupid doc typo (thanks miyagawa)
-1.000000 2012-07-18
+1.000000 - 2012-07-18
- Initial release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/MANIFEST new/Safe-Isa-1.000005/MANIFEST
--- old/Safe-Isa-1.000004/MANIFEST 2013-09-19 06:31:51.000000000 +0200
+++ new/Safe-Isa-1.000005/MANIFEST 2014-08-17 00:15:55.000000000 +0200
@@ -1,5 +1,7 @@
Changes
lib/Safe/Isa.pm
+maint/bump-version
+maint/Makefile.include
maint/Makefile.PL.include
Makefile.PL
MANIFEST This list of files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/META.json new/Safe-Isa-1.000005/META.json
--- old/Safe-Isa-1.000004/META.json 2013-09-19 06:31:50.000000000 +0200
+++ new/Safe-Isa-1.000005/META.json 2014-08-17 00:15:55.000000000 +0200
@@ -4,7 +4,7 @@
"mst - Matt S. Trout (cpan:MSTROUT) <mst(a)shadowcat.co.uk>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060",
"license" : [
"perl_5"
],
@@ -20,7 +20,7 @@
]
},
"prereqs" : {
- "build" : {
+ "configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
@@ -28,7 +28,13 @@
"runtime" : {
"requires" : {
"Exporter" : "5.57",
- "Scalar::Util" : "0"
+ "Scalar::Util" : "0",
+ "perl" : "5.006"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0"
}
}
},
@@ -44,5 +50,5 @@
"web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git"
}
},
- "version" : "1.000004"
+ "version" : "1.000005"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/META.yml new/Safe-Isa-1.000005/META.yml
--- old/Safe-Isa-1.000004/META.yml 2013-09-19 06:31:50.000000000 +0200
+++ new/Safe-Isa-1.000005/META.yml 2014-08-17 00:15:55.000000000 +0200
@@ -3,22 +3,25 @@
author:
- 'mst - Matt S. Trout (cpan:MSTROUT) <mst(a)shadowcat.co.uk>'
build_requires:
- ExtUtils::MakeMaker: 0
+ Test::More: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Safe-Isa
no_index:
directory:
- t
- inc
requires:
- Exporter: 5.57
- Scalar::Util: 0
+ Exporter: '5.57'
+ Scalar::Util: '0'
+ perl: '5.006'
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa
repository: git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git
-version: 1.000004
+version: '1.000005'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/Makefile.PL new/Safe-Isa-1.000005/Makefile.PL
--- old/Safe-Isa-1.000004/Makefile.PL 2013-09-19 06:30:41.000000000 +0200
+++ new/Safe-Isa-1.000005/Makefile.PL 2014-08-17 00:10:33.000000000 +0200
@@ -4,17 +4,11 @@
use ExtUtils::MakeMaker;
(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
-WriteMakefile(
+my %WriteMakefileArgs = (
NAME => 'Safe::Isa',
VERSION_FROM => 'lib/Safe/Isa.pm',
- PREREQ_PM => {
- 'Exporter' => '5.57',
- 'Scalar::Util' => 0,
- },
-
- -f 'META.yml' ? () : (
- META_MERGE => {
+ META_MERGE => {
'meta-spec' => { version => 2 },
dynamic_config => 0,
@@ -30,6 +24,73 @@
web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa',
},
},
+ },
+
+ META_ADD => {
+ prereqs => {
+ configure => {
+ requires => {
+ 'ExtUtils::MakeMaker' => '0',
+ },
+ },
+ runtime => {
+ requires => {
+ 'Exporter' => '5.57',
+ 'Scalar::Util' => 0,
+ perl => '5.006',
+ },
+ },
+ test => {
+ requires => {
+ 'Test::More' => '0',
+ },
+ },
},
- ),
+ },
+
+ realclean => { FILES => [ 'Distar/', 'MANIFEST*' ] },
);
+
+my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
+
+for (qw(configure build test runtime)) {
+ my $key = $_ eq 'runtime' ? 'PREREQ_PM' : uc $_.'_REQUIRES';
+ next unless exists $WriteMakefileArgs{META_ADD}{prereqs}{$_}
+ or exists $WriteMakefileArgs{$key};
+ my $r = $WriteMakefileArgs{$key} = {
+ %{$WriteMakefileArgs{META_ADD}{prereqs}{$_}{requires} || {}},
+ %{delete $WriteMakefileArgs{$key} || {}},
+ };
+ defined $r->{$_} or delete $r->{$_} for keys %$r;
+}
+
+# dynamic prereqs get added here.
+
+$WriteMakefileArgs{MIN_PERL_VERSION} = delete $WriteMakefileArgs{PREREQ_PM}{perl} || 0;
+
+die 'attention developer: you need to do a sane meta merge here!'
+ if keys %{$WriteMakefileArgs{BUILD_REQUIRES}};
+
+$WriteMakefileArgs{BUILD_REQUIRES} = {
+ %{$WriteMakefileArgs{BUILD_REQUIRES} || {}},
+ %{delete $WriteMakefileArgs{TEST_REQUIRES}}
+} if $eumm_version < 6.63_03;
+
+$WriteMakefileArgs{PREREQ_PM} = {
+ %{$WriteMakefileArgs{PREREQ_PM}},
+ %{delete $WriteMakefileArgs{BUILD_REQUIRES}}
+} if $eumm_version < 6.55_01;
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ if $eumm_version < 6.51_03;
+
+delete $WriteMakefileArgs{MIN_PERL_VERSION}
+ if $eumm_version < 6.48;
+
+delete @WriteMakefileArgs{qw(META_ADD META_MERGE)}
+ if $eumm_version < 6.46;
+
+delete $WriteMakefileArgs{LICENSE}
+ if $eumm_version < 6.31;
+
+WriteMakefile(%WriteMakefileArgs);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/README new/Safe-Isa-1.000005/README
--- old/Safe-Isa-1.000004/README 2013-09-19 06:31:51.000000000 +0200
+++ new/Safe-Isa-1.000005/README 2014-08-17 00:15:55.000000000 +0200
@@ -116,6 +116,10 @@
If called on an object, calls "method_name" on it and returns the
result, otherwise returns nothing.
+SEE ALSO
+ I gave a lightning talk on this module (and curry and Import::Into) at
+ YAPC::NA 2013 <https://www.youtube.com/watch?v=wFXWV2yY7gE&t=46m05s>.
+
AUTHOR
mst - Matt S. Trout (cpan:MSTROUT) <mst(a)shadowcat.co.uk>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/lib/Safe/Isa.pm new/Safe-Isa-1.000005/lib/Safe/Isa.pm
--- old/Safe-Isa-1.000004/lib/Safe/Isa.pm 2013-09-19 06:30:41.000000000 +0200
+++ new/Safe-Isa-1.000005/lib/Safe/Isa.pm 2014-08-17 00:14:04.000000000 +0200
@@ -5,12 +5,15 @@
use Scalar::Util qw(blessed);
use Exporter 5.57 qw(import);
-our $VERSION = '1.000004';
+our $VERSION = '1.000005';
our @EXPORT = qw($_call_if_object $_isa $_can $_does $_DOES);
our $_call_if_object = sub {
my ($obj, $method) = (shift, shift);
+ # This is intentionally a truth test, not a defined test, otherwise
+ # we gratuitously break modules like Scalar::Defer, which would be
+ # un-perlish.
return unless blessed($obj);
return $obj->$method(@_);
};
@@ -145,6 +148,11 @@
If called on an object, calls C<method_name> on it and returns the result,
otherwise returns nothing.
+=head1 SEE ALSO
+
+I gave a lightning talk on this module (and L<curry> and L<Import::Into>) at
+L<YAPC::NA 2013|https://www.youtube.com/watch?v=wFXWV2yY7gE&t=46m05s>.
+
=head1 AUTHOR
mst - Matt S. Trout (cpan:MSTROUT) <mst(a)shadowcat.co.uk>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/maint/Makefile.include new/Safe-Isa-1.000005/maint/Makefile.include
--- old/Safe-Isa-1.000004/maint/Makefile.include 1970-01-01 01:00:00.000000000 +0100
+++ new/Safe-Isa-1.000005/maint/Makefile.include 2014-08-17 00:06:14.000000000 +0200
@@ -0,0 +1,11 @@
+bump:
+ maint/bump-version
+ rm Makefile
+bumpminor:
+ maint/bump-version minor
+ rm Makefile
+bumpmajor:
+ maint/bump-version major
+ rm Makefile
+upload: $(DISTVNAME).tar$(SUFFIX)
+ cpan-upload $<
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Safe-Isa-1.000004/maint/bump-version new/Safe-Isa-1.000005/maint/bump-version
--- old/Safe-Isa-1.000004/maint/bump-version 1970-01-01 01:00:00.000000000 +0100
+++ new/Safe-Isa-1.000005/maint/bump-version 2014-08-17 00:06:39.000000000 +0200
@@ -0,0 +1,39 @@
+#!/usr/bin/env perl
+
+use 5.010;
+use strict;
+use warnings FATAL => 'all';
+use autodie;
+
+chomp(my $LATEST = qx(grep '^[0-9]' Changes | head -1 | awk '{print \$1}'));
+
+my @parts = map { m/(\d{1,3})/g } split /\./, $LATEST;
+push @parts, 0, 0;
+
+my $OLD_DECIMAL = sprintf('%i.%03i%03i', @parts[0..2]);
+
+my %bump_part = (major => 0, minor => 1, bugfix => 2);
+
+my $bump_this =
+ $bump_part{$ARGV[0]||'bugfix'}
+ // die "no idea which part to bump - $ARGV[0] means nothing to me";
+
+my @new_parts = @parts;
+
+$new_parts[$bump_this]++;
+
+my $NEW_DECIMAL = sprintf('%i.%03i%03i', @new_parts[0..2]);
+
+my @PM_FILES = ( 'lib/Safe/Isa.pm' );
+
+foreach my $filename (@PM_FILES) {
+ warn "Bumping $OLD_DECIMAL -> $NEW_DECIMAL in $filename\n";
+
+ my $file = do { local (@ARGV, $/) = ($filename); <> };
+
+ $file =~ s/(?<=\$VERSION = ')${\quotemeta $OLD_DECIMAL}/${NEW_DECIMAL}/;
+
+ open my $out, '>', $filename;
+
+ print $out $file;
+}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-DBD-CSV for openSUSE:Factory checked in at 2014-09-22 09:23:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-CSV (Old)
and /work/SRC/openSUSE:Factory/.perl-DBD-CSV.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-CSV"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-CSV/perl-DBD-CSV.changes 2013-11-26 19:25:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DBD-CSV.new/perl-DBD-CSV.changes 2014-09-22 09:23:36.000000000 +0200
@@ -1,0 +2,20 @@
+Fri Sep 19 12:15:51 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.44
+ * Table names case sensitiveness not tested case-problematic FS's
+ * Fix defaults in doc (annocpan)
+ * Fix typo in SYNOPSIS (RT#97313)
+ * Workaround eof bug in Text::CSV_XS-1.10
+
+ 0.43 - 2014-06-30, H.Merijn Brand
+ * Updated copyright to 2014
+ * Unquote schema's in test for cygwin
+ * Extra guards in Makefile.PL for unmet requirements
+
+ 0.42 - 2013-08-14, H.Merijn Brand
+ * Optionally skip tests using File::Spec->tempdir () RT#87684
+ * And document the use of $TMPDIR in README
+ * Make the SYNOPSIS more reflect real-world usage
+ * Detect DBI::Test and use it if available
+
+-------------------------------------------------------------------
Old:
----
DBD-CSV-0.41.tgz
New:
----
DBD-CSV-0.44.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-CSV.spec ++++++
--- /var/tmp/diff_new_pack.r8qkpp/_old 2014-09-22 09:23:37.000000000 +0200
+++ /var/tmp/diff_new_pack.r8qkpp/_new 2014-09-22 09:23:37.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-CSV
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-DBD-CSV
-Version: 0.41
+Version: 0.44
Release: 0
%define cpan_name DBD-CSV
Summary: DBI driver for CSV files
@@ -34,14 +34,14 @@
BuildRequires: perl(SQL::Statement) >= 1.405
BuildRequires: perl(Test::More) >= 0.9
BuildRequires: perl(Text::CSV_XS) >= 1.01
-#BuildRequires: perl(DBD::CSV)
-#BuildRequires: perl(version)
Requires: perl(DBD::File) >= 0.42
Requires: perl(DBI) >= 1.628
Requires: perl(SQL::Statement) >= 1.405
Requires: perl(Test::More) >= 0.9
Requires: perl(Text::CSV_XS) >= 1.01
-Recommends: perl(Test::More) >= 0.98
+Recommends: perl(DBI) >= 1.631
+Recommends: perl(Test::More) >= 1.001003
+Recommends: perl(Text::CSV_XS) >= 1.10
%{perl_requires}
%description
++++++ DBD-CSV-0.41.tgz -> DBD-CSV-0.44.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/ChangeLog new/DBD-CSV-0.44/ChangeLog
--- old/DBD-CSV-0.41/ChangeLog 2013-07-29 09:34:07.000000000 +0200
+++ new/DBD-CSV-0.44/ChangeLog 2014-08-04 21:27:01.000000000 +0200
@@ -1,3 +1,20 @@
+0.44 - 2014-08-04, H.Merijn Brand
+ * Table names case sensitiveness not tested case-problematic FS's
+ * Fix defaults in doc (annocpan)
+ * Fix typo in SYNOPSIS (RT#97313)
+ * Workaround eof bug in Text::CSV_XS-1.10
+
+0.43 - 2014-06-30, H.Merijn Brand
+ * Updated copyright to 2014
+ * Unquote schema's in test for cygwin
+ * Extra guards in Makefile.PL for unmet requirements
+
+0.42 - 2013-08-14, H.Merijn Brand
+ * Optionally skip tests using File::Spec->tempdir () RT#87684
+ * And document the use of $TMPDIR in README
+ * Make the SYNOPSIS more reflect real-world usage
+ * Detect DBI::Test and use it if available
+
0.41 - 2013-07-29, H.Merijn Brand
* Use File::Spec->tmpdir () for universal existing folder
Note that huge $TMP folders may cause the test to run slow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/MANIFEST new/DBD-CSV-0.44/MANIFEST
--- old/DBD-CSV-0.41/MANIFEST 2013-07-29 15:15:28.000000000 +0200
+++ new/DBD-CSV-0.44/MANIFEST 2014-08-04 21:44:20.000000000 +0200
@@ -5,6 +5,14 @@
README
lib/Bundle/DBD/CSV.pm
lib/DBD/CSV.pm
+lib/DBD/CSV/TypeInfo.pm
+lib/DBD/CSV/GetInfo.pm
+lib/DBI/Test/Case/DBD/CSV/t10_base.pm
+lib/DBI/Test/Case/DBD/CSV/t11_dsnlist.pm
+lib/DBI/Test/Case/DBD/CSV/t20_createdrop.pm
+lib/DBI/Test/Case/DBD/CSV/t85_error.pm
+lib/DBI/Test/DBD/CSV/Conf.pm
+lib/DBI/Test/DBD/CSV/List.pm
t/00_meta.t
t/00_pod_cov.t
t/00_pod.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/MANIFEST.SKIP new/DBD-CSV-0.44/MANIFEST.SKIP
--- old/DBD-CSV-0.41/MANIFEST.SKIP 2013-06-11 18:37:29.000000000 +0200
+++ new/DBD-CSV-0.44/MANIFEST.SKIP 2013-08-13 13:06:06.000000000 +0200
@@ -1,5 +1,5 @@
\.aspell\.local.pws
-\.dbi-svn
+\.dbi-git
\bCVS\b
~$
\.tgz$
@@ -17,4 +17,9 @@
^xx
META.yml
valgrind.log
+tests.skip
xt/
+t/basic/
+t/DBI/
+t/DBD/
+t/SQL/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/META.json new/DBD-CSV-0.44/META.json
--- old/DBD-CSV-0.41/META.json 2013-07-29 15:15:28.000000000 +0200
+++ new/DBD-CSV-0.44/META.json 2014-08-04 21:44:20.000000000 +0200
@@ -1,72 +1,76 @@
{
- "author" : [
- "Jochen Wiedmann",
- "Jeff Zucker",
- "H.Merijn Brand <h.m.brand(a)xs4all.nl>",
- "Jens Rehsack <rehsack(a)cpan.org>"
+ "version" : "0.44",
+ "generated_by" : "Author",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
],
- "dynamic_config" : 1,
- "provides" : {
- "DBD::CSV" : {
- "version" : "0.41",
- "file" : "lib/DBD/CSV.pm"
+ "repository" : {
+ "type" : "git",
+ "web" : "https://github.com/perl5-dbi/DBD-CSV.git",
+ "url" : "https://github.com/perl5-dbi/DBD-CSV.git"
+ }
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Config" : "0"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::Harness" : "0",
+ "charnames" : "0",
+ "Cwd" : "0",
+ "Encode" : "0",
+ "Test::More" : "0.90"
+ },
+ "recommends" : {
+ "Test::More" : "1.001003"
}
},
- "x_installdirs" : "site",
- "prereqs" : {
"runtime" : {
"recommends" : {
- "Test::More" : "0.98",
- "perl" : "5.016003"
- },
+ "Text::CSV_XS" : "1.10",
+ "perl" : "5.020000",
+ "DBI" : "1.631"
+ },
"requires" : {
+ "SQL::Statement" : "1.405",
+ "DBI" : "1.628",
"Text::CSV_XS" : "1.01",
- "perl" : "5.008001",
"DBD::File" : "0.42",
- "SQL::Statement" : "1.405",
- "DBI" : "1.628"
- }
- },
+ "perl" : "5.008001"
+ }
+ },
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
- }
- },
- "build" : {
- "requires" : {
- "Config" : "0"
- }
- },
- "test" : {
- "requires" : {
- "Encode" : "0",
- "Test::Harness" : "0",
- "charnames" : "0",
- "Test::More" : "0.90",
- "Cwd" : "0"
- }
}
- },
- "generated_by" : "Author",
+ }
+ },
+ "provides" : {
+ "DBD::CSV" : {
+ "version" : "0.44",
+ "file" : "lib/DBD/CSV.pm"
+ }
+ },
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
"license" : [
"perl_5"
- ],
- "resources" : {
- "license" : [
- "http://dev.perl.org/licenses/"
- ],
- "repository" : {
- "url" : "https://github.com/perl5-dbi/DBD-CSV.git",
- "web" : "https://github.com/perl5-dbi/DBD-CSV.git",
- "type" : "git"
- }
- },
- "version" : "0.41",
+ ],
+ "author" : [
+ "Jochen Wiedmann",
+ "Jeff Zucker",
+ "H.Merijn Brand <h.m.brand(a)xs4all.nl>",
+ "Jens Rehsack <rehsack(a)cpan.org>"
+ ],
"abstract" : "DBI driver for CSV files",
- "meta-spec" : {
- "version" : "2",
- "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec"
- },
"name" : "DBD-CSV",
+ "x_installdirs" : "site",
+ "dynamic_config" : 1,
"release_status" : "stable"
- }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/META.yml new/DBD-CSV-0.44/META.yml
--- old/DBD-CSV-0.41/META.yml 2013-07-29 15:15:28.000000000 +0200
+++ new/DBD-CSV-0.44/META.yml 2014-08-04 21:44:20.000000000 +0200
@@ -10,7 +10,7 @@
configure_requires:
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: Author, CPAN::Meta::Converter version 2.131560
+generated_by: Author, CPAN::Meta::Converter version 2.142060
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,10 +19,12 @@
provides:
DBD::CSV:
file: lib/DBD/CSV.pm
- version: '0.41'
+ version: '0.44'
recommends:
- Test::More: '0.98'
- perl: '5.016003'
+ DBI: '1.631'
+ Test::More: '1.001003'
+ Text::CSV_XS: '1.10'
+ perl: '5.020000'
requires:
Cwd: 0
DBD::File: '0.42'
@@ -37,5 +39,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/perl5-dbi/DBD-CSV.git
-version: '0.41'
+version: '0.44'
x_installdirs: site
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/Makefile.PL new/DBD-CSV-0.44/Makefile.PL
--- old/DBD-CSV-0.41/Makefile.PL 2013-06-27 09:31:20.000000000 +0200
+++ new/DBD-CSV-0.44/Makefile.PL 2014-06-30 12:39:45.000000000 +0200
@@ -1,20 +1,41 @@
# -*- perl -*-
-# Copyright (c) 2009-2013 H.Merijn Brand
+# Copyright (c) 2009-2014 H.Merijn Brand
require 5.008001;
use strict;
use ExtUtils::MakeMaker;
+use File::Spec;
+eval { require DBI; };
+if ($@) {
+ print <<"MSG";
+
+DBD::CSV requires DBI and it cannot be loaded:
+$@
+
+MSG
+ exit 1;
+ }
+if ($DBI::VERSION < 1.628) {
+ print <<"MSG";
+
+Trying to use DBD::CSV with DBI-$DBI::VERSION is heading for failure.
+DBD::CSV is relying on DBD::File, bundled in the DBI release and does
+require features not present in this version of DBI.
+
+MSG
+ exit 0;
+ }
eval { require DBD::CSV; };
if (!$@ && $DBD::CSV::VERSION < 0.1010) {
print <<'MSG';
-WARNING! You seem to have installed a recent version of the DBD::CSV module.
+WARNING! You seem to have installed a recent version of the DBD::CSV module.
Note that the API (in particular attribute names) has changed, to conform to
-the DBI specifications. For example $dbh->{directory} has been renamed to
+the DBI specifications. For example $dbh->{directory} has been renamed to
$dbh->{f_dir} and $dbh->{eol}, $dbh->{quote_char}, ... are gone in favour of
$dbh->{tables}{$table}{csv}, which is used for storing meta information. You
might need to modify existing sources before doing a "make install". See the
@@ -22,15 +43,26 @@
MSG
sleep 5;
- };
+ }
use vars qw( $DBI_INC_DIR );
+{ my $tmp_dir = File::Spec->tmpdir ();
+ my $default = $ENV{AUTOMATED_TESTING} ? "n" : "y";
+ if (prompt ("Enable the use of $tmp_dir for tests?", $default) =~ m/[Yy]/) {
+ unlink "tests.skip";
+ }
+ else {
+ open my $fh, ">", "tests.skip";
+ print $fh "tmpdir\n";
+ close $fh;
+ }
+ }
my %wm = (
NAME => "DBD::CSV",
DISTNAME => "DBD-CSV",
ABSTRACT => "DBI driver for CSV and similar structured files",
- AUTHOR => "H.Merijn Brand <h.merijn\(a)xs4all.nl>",
+ AUTHOR => "H.Merijn Brand <h.m.brand\(a)xs4all.nl>",
VERSION_FROM => "lib/DBD/CSV.pm",
PREREQ_PM => {
"DBI" => 1.628,
@@ -54,6 +86,26 @@
);
$ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl";
+# Windows is case-insensitive! Do not remove lib.pl and tmp.csv
+$File::Path::VERSION > 2.06 and File::Path::remove_tree (glob "t/[bA-KM-SU-Z]*");
+
+eval "use DBI::Test::Conf ();";
+if ($@) {
+ warn "******\n",
+ "******\tDBI::Test is not installed.\n",
+ "******\tIt will be required in one of the upcoming releases.\n",
+ "******\n";
+ }
+else {
+ use lib "lib";
+
+ local $" = " ";
+ $wm{PREREQ_PM}{"DBI::Test"} = "0.001";
+ my @nt = DBI::Test::Conf->setup (CONTAINED_DBDS => [qw( CSV )]);
+ $wm{test} = { TESTS => join " " => (sort glob "t/*.t"), @nt };
+ $wm{clean}{FILES} .= " @nt";
+ }
+
my $rv = WriteMakefile (%wm);
1;
@@ -65,7 +117,7 @@
my $min_vsn = ($] >= 5.010 && -d "xt" && ($ENV{AUTOMATED_TESTING} || 0) != 1)
? join "\n" =>
'test ::',
- ' -@env DBI_SQL_NANO=1 TEST_FILES="t/[012367]*.t t/4[038]*.t t/5[05]*.t t/85*.t" make -e test_dynamic',
+ ' -@env DBI_SQL_NANO=1 make -e test_dynamic TEST_FILES=t/[1-9]*.t',
'',
'test ::',
' -@env TEST_FILES="xt/*.t" make -e test_dynamic',
@@ -76,7 +128,7 @@
' cover -test',
'',
'spellcheck:',
- ' pod-spell-check --aspell',
+ ' pod-spell-check --aspell --ispell',
'',
'checkmeta: spellcheck',
' perl sandbox/genMETA.pl -c',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/README new/DBD-CSV-0.44/README
--- old/DBD-CSV-0.41/README 2013-05-22 16:28:10.000000000 +0200
+++ new/DBD-CSV-0.44/README 2014-01-01 11:42:19.000000000 +0100
@@ -8,13 +8,8 @@
and implements access to so-called CSV files (Comma separated
values).
-Warning
- THIS IS ALPHA SOFTWARE. It is *only* 'Alpha' because the
- interface (API) is not finalized. The Alpha status does not
- reflect code quality or stability.
-
Copying
- Copyright (C) 2009-2013 by H.Merijn Brand
+ Copyright (C) 2009-2014 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
@@ -48,8 +43,8 @@
cpan DBD::CSV
Or standard build/installation:
- gzip -cd DBD-CSV-0.39.tar.gz | tar xf -
- cd DBD-CSV-0.39
+ gzip -cd DBD-CSV-0.43.tar.gz | tar xf -
+ cd DBD-CSV-0.43
perl Makefile.PL
make test
make install
@@ -57,6 +52,19 @@
(this is for Unix users, Windows users would prefer PowerArchiver,
WinZip or something similar).
+ The test suite contains extensive tests for all features provided
+ by DBD::CSV. Some of them include the use of what is set to be the
+ default temporary directory on the system. Even though the tests
+ do not use the folder to read or modify data, using the folder will
+ imply the scanning of that folder to see if files would qualify for
+ use in DBD::CSV. When the folder contains many files, the scanning
+ will seriously slow down the testing duration. The configure phase
+ therefor asks the user if using the folder is allowed. The default
+ answer is yes unless $AUTOMATED_TESTING is set.
+ As File::Spec->tmpdir () honors the environment, you can enable
+ these tests using another folder by setting $TMPDIR or whatever
+ controls tmpdir () or your OS.
+
Author:
This module is currently maintained by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/Bundle/DBD/CSV.pm new/DBD-CSV-0.44/lib/Bundle/DBD/CSV.pm
--- old/DBD-CSV-0.41/lib/Bundle/DBD/CSV.pm 2013-07-23 09:05:35.000000000 +0200
+++ new/DBD-CSV-0.44/lib/Bundle/DBD/CSV.pm 2014-08-04 21:28:26.000000000 +0200
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = "1.09";
+our $VERSION = "1.12";
1;
@@ -21,15 +21,15 @@
=head1 CONTENTS
-DBI 1.628
+DBI 1.631
-Text::CSV_XS 1.01
+Text::CSV_XS 1.10
SQL::Statement 1.405
DBD::File 0.42
-DBD::CSV 0.41
+DBD::CSV 0.44
=head1 DESCRIPTION
@@ -44,7 +44,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2009-2013 by H.Merijn Brand
+Copyright (C) 2009-2014 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBD/CSV/GetInfo.pm new/DBD-CSV-0.44/lib/DBD/CSV/GetInfo.pm
--- old/DBD-CSV-0.41/lib/DBD/CSV/GetInfo.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBD/CSV/GetInfo.pm 2013-07-29 17:41:21.000000000 +0200
@@ -0,0 +1,257 @@
+#!/usr/bin/perl
+
+# The %info hash was automatically generated by
+# DBI::DBD::Metadata::write_getinfo_pm v2.014214.
+
+package DBD::CSV::GetInfo;
+
+use strict;
+use DBD::CSV;
+
+# Beware: not officially documented interfaces...
+# use DBI::Const::GetInfoType qw(%GetInfoType);
+# use DBI::Const::GetInfoReturn qw(%GetInfoReturnTypes %GetInfoReturnValues);
+
+my $sql_driver = "CSV"; # DBD::CSV uses tw-partr version string
+my $sql_ver_fmt = "%02d.%02d.0000"; # ODBC version string: ##.##.#####
+my $sql_driver_ver = sprintf $sql_ver_fmt, split /\./ => $DBD::CSV::VERSION;
+
+sub sql_data_source_name
+{
+ my $dbh = shift;
+ return "dbi:$sql_driver:" . $dbh->{Name};
+ } # sql_data_source_name
+
+sub sql_user_name
+{
+ my $dbh = shift;
+ # CURRENT_USER is a non-standard attribute, probably undef
+ # Username is a standard DBI attribute
+ return $dbh->{CURRENT_USER} || $dbh->{Username};
+ } # sql_user_name
+
+our %info = (
+# 20 => undef, # SQL_ACCESSIBLE_PROCEDURES
+# 19 => undef, # SQL_ACCESSIBLE_TABLES
+# 0 => undef, # SQL_ACTIVE_CONNECTIONS
+# 116 => undef, # SQL_ACTIVE_ENVIRONMENTS
+# 1 => undef, # SQL_ACTIVE_STATEMENTS
+# 169 => undef, # SQL_AGGREGATE_FUNCTIONS
+# 117 => undef, # SQL_ALTER_DOMAIN
+# 86 => undef, # SQL_ALTER_TABLE
+# 10021 => undef, # SQL_ASYNC_MODE
+# 120 => undef, # SQL_BATCH_ROW_COUNT
+# 121 => undef, # SQL_BATCH_SUPPORT
+# 82 => undef, # SQL_BOOKMARK_PERSISTENCE
+# 114 => undef, # SQL_CATALOG_LOCATION
+# 10003 => undef, # SQL_CATALOG_NAME
+# 41 => undef, # SQL_CATALOG_NAME_SEPARATOR
+# 42 => undef, # SQL_CATALOG_TERM
+# 92 => undef, # SQL_CATALOG_USAGE
+# 10004 => undef, # SQL_COLLATING_SEQUENCE
+# 10004 => undef, # SQL_COLLATION_SEQ
+# 87 => undef, # SQL_COLUMN_ALIAS
+# 22 => undef, # SQL_CONCAT_NULL_BEHAVIOR
+# 53 => undef, # SQL_CONVERT_BIGINT
+# 54 => undef, # SQL_CONVERT_BINARY
+# 55 => undef, # SQL_CONVERT_BIT
+# 56 => undef, # SQL_CONVERT_CHAR
+# 57 => undef, # SQL_CONVERT_DATE
+# 58 => undef, # SQL_CONVERT_DECIMAL
+# 59 => undef, # SQL_CONVERT_DOUBLE
+# 60 => undef, # SQL_CONVERT_FLOAT
+# 48 => undef, # SQL_CONVERT_FUNCTIONS
+# 173 => undef, # SQL_CONVERT_GUID
+# 61 => undef, # SQL_CONVERT_INTEGER
+# 123 => undef, # SQL_CONVERT_INTERVAL_DAY_TIME
+# 124 => undef, # SQL_CONVERT_INTERVAL_YEAR_MONTH
+# 71 => undef, # SQL_CONVERT_LONGVARBINARY
+# 62 => undef, # SQL_CONVERT_LONGVARCHAR
+# 63 => undef, # SQL_CONVERT_NUMERIC
+# 64 => undef, # SQL_CONVERT_REAL
+# 65 => undef, # SQL_CONVERT_SMALLINT
+# 66 => undef, # SQL_CONVERT_TIME
+# 67 => undef, # SQL_CONVERT_TIMESTAMP
+# 68 => undef, # SQL_CONVERT_TINYINT
+# 69 => undef, # SQL_CONVERT_VARBINARY
+# 70 => undef, # SQL_CONVERT_VARCHAR
+# 122 => undef, # SQL_CONVERT_WCHAR
+# 125 => undef, # SQL_CONVERT_WLONGVARCHAR
+# 126 => undef, # SQL_CONVERT_WVARCHAR
+# 74 => undef, # SQL_CORRELATION_NAME
+# 127 => undef, # SQL_CREATE_ASSERTION
+# 128 => undef, # SQL_CREATE_CHARACTER_SET
+# 129 => undef, # SQL_CREATE_COLLATION
+# 130 => undef, # SQL_CREATE_DOMAIN
+# 131 => undef, # SQL_CREATE_SCHEMA
+# 132 => undef, # SQL_CREATE_TABLE
+# 133 => undef, # SQL_CREATE_TRANSLATION
+# 134 => undef, # SQL_CREATE_VIEW
+# 23 => undef, # SQL_CURSOR_COMMIT_BEHAVIOR
+# 24 => undef, # SQL_CURSOR_ROLLBACK_BEHAVIOR
+# 10001 => undef, # SQL_CURSOR_SENSITIVITY
+# 16 => undef, # SQL_DATABASE_NAME
+ 2 => \&sql_data_source_name, # SQL_DATA_SOURCE_NAME
+# 25 => undef, # SQL_DATA_SOURCE_READ_ONLY
+# 119 => undef, # SQL_DATETIME_LITERALS
+# 17 => undef, # SQL_DBMS_NAME
+# 18 => undef, # SQL_DBMS_VER
+# 18 => undef, # SQL_DBMS_VERSION
+# 170 => undef, # SQL_DDL_INDEX
+# 26 => undef, # SQL_DEFAULT_TRANSACTION_ISOLATION
+# 26 => undef, # SQL_DEFAULT_TXN_ISOLATION
+# 10002 => undef, # SQL_DESCRIBE_PARAMETER
+# 171 => undef, # SQL_DM_VER
+# 3 => undef, # SQL_DRIVER_HDBC
+# 135 => undef, # SQL_DRIVER_HDESC
+# 4 => undef, # SQL_DRIVER_HENV
+# 76 => undef, # SQL_DRIVER_HLIB
+# 5 => undef, # SQL_DRIVER_HSTMT
+ 6 => $INC{"DBD/CSV.pm"}, # SQL_DRIVER_NAME
+# 77 => undef, # SQL_DRIVER_ODBC_VER
+ 7 => $sql_driver_ver, # SQL_DRIVER_VER
+# 136 => undef, # SQL_DROP_ASSERTION
+# 137 => undef, # SQL_DROP_CHARACTER_SET
+# 138 => undef, # SQL_DROP_COLLATION
+# 139 => undef, # SQL_DROP_DOMAIN
+# 140 => undef, # SQL_DROP_SCHEMA
+# 141 => undef, # SQL_DROP_TABLE
+# 142 => undef, # SQL_DROP_TRANSLATION
+# 143 => undef, # SQL_DROP_VIEW
+# 144 => undef, # SQL_DYNAMIC_CURSOR_ATTRIBUTES1
+# 145 => undef, # SQL_DYNAMIC_CURSOR_ATTRIBUTES2
+# 27 => undef, # SQL_EXPRESSIONS_IN_ORDERBY
+# 8 => undef, # SQL_FETCH_DIRECTION
+# 84 => undef, # SQL_FILE_USAGE
+# 146 => undef, # SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1
+# 147 => undef, # SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2
+# 81 => undef, # SQL_GETDATA_EXTENSIONS
+# 88 => undef, # SQL_GROUP_BY
+# 28 => undef, # SQL_IDENTIFIER_CASE
+# 29 => undef, # SQL_IDENTIFIER_QUOTE_CHAR
+# 148 => undef, # SQL_INDEX_KEYWORDS
+# 149 => undef, # SQL_INFO_SCHEMA_VIEWS
+# 172 => undef, # SQL_INSERT_STATEMENT
+# 73 => undef, # SQL_INTEGRITY
+# 150 => undef, # SQL_KEYSET_CURSOR_ATTRIBUTES1
+# 151 => undef, # SQL_KEYSET_CURSOR_ATTRIBUTES2
+# 89 => undef, # SQL_KEYWORDS
+# 113 => undef, # SQL_LIKE_ESCAPE_CLAUSE
+# 78 => undef, # SQL_LOCK_TYPES
+# 34 => undef, # SQL_MAXIMUM_CATALOG_NAME_LENGTH
+# 97 => undef, # SQL_MAXIMUM_COLUMNS_IN_GROUP_BY
+# 98 => undef, # SQL_MAXIMUM_COLUMNS_IN_INDEX
+# 99 => undef, # SQL_MAXIMUM_COLUMNS_IN_ORDER_BY
+# 100 => undef, # SQL_MAXIMUM_COLUMNS_IN_SELECT
+# 101 => undef, # SQL_MAXIMUM_COLUMNS_IN_TABLE
+# 30 => undef, # SQL_MAXIMUM_COLUMN_NAME_LENGTH
+# 1 => undef, # SQL_MAXIMUM_CONCURRENT_ACTIVITIES
+# 31 => undef, # SQL_MAXIMUM_CURSOR_NAME_LENGTH
+# 0 => undef, # SQL_MAXIMUM_DRIVER_CONNECTIONS
+# 10005 => undef, # SQL_MAXIMUM_IDENTIFIER_LENGTH
+# 102 => undef, # SQL_MAXIMUM_INDEX_SIZE
+# 104 => undef, # SQL_MAXIMUM_ROW_SIZE
+# 32 => undef, # SQL_MAXIMUM_SCHEMA_NAME_LENGTH
+# 105 => undef, # SQL_MAXIMUM_STATEMENT_LENGTH
+# 20000 => undef, # SQL_MAXIMUM_STMT_OCTETS
+# 20001 => undef, # SQL_MAXIMUM_STMT_OCTETS_DATA
+# 20002 => undef, # SQL_MAXIMUM_STMT_OCTETS_SCHEMA
+# 106 => undef, # SQL_MAXIMUM_TABLES_IN_SELECT
+# 35 => undef, # SQL_MAXIMUM_TABLE_NAME_LENGTH
+# 107 => undef, # SQL_MAXIMUM_USER_NAME_LENGTH
+# 10022 => undef, # SQL_MAX_ASYNC_CONCURRENT_STATEMENTS
+# 112 => undef, # SQL_MAX_BINARY_LITERAL_LEN
+# 34 => undef, # SQL_MAX_CATALOG_NAME_LEN
+# 108 => undef, # SQL_MAX_CHAR_LITERAL_LEN
+# 97 => undef, # SQL_MAX_COLUMNS_IN_GROUP_BY
+# 98 => undef, # SQL_MAX_COLUMNS_IN_INDEX
+# 99 => undef, # SQL_MAX_COLUMNS_IN_ORDER_BY
+# 100 => undef, # SQL_MAX_COLUMNS_IN_SELECT
+# 101 => undef, # SQL_MAX_COLUMNS_IN_TABLE
+# 30 => undef, # SQL_MAX_COLUMN_NAME_LEN
+# 1 => undef, # SQL_MAX_CONCURRENT_ACTIVITIES
+# 31 => undef, # SQL_MAX_CURSOR_NAME_LEN
+# 0 => undef, # SQL_MAX_DRIVER_CONNECTIONS
+# 10005 => undef, # SQL_MAX_IDENTIFIER_LEN
+# 102 => undef, # SQL_MAX_INDEX_SIZE
+# 32 => undef, # SQL_MAX_OWNER_NAME_LEN
+# 33 => undef, # SQL_MAX_PROCEDURE_NAME_LEN
+# 34 => undef, # SQL_MAX_QUALIFIER_NAME_LEN
+# 104 => undef, # SQL_MAX_ROW_SIZE
+# 103 => undef, # SQL_MAX_ROW_SIZE_INCLUDES_LONG
+# 32 => undef, # SQL_MAX_SCHEMA_NAME_LEN
+# 105 => undef, # SQL_MAX_STATEMENT_LEN
+# 106 => undef, # SQL_MAX_TABLES_IN_SELECT
+# 35 => undef, # SQL_MAX_TABLE_NAME_LEN
+# 107 => undef, # SQL_MAX_USER_NAME_LEN
+# 37 => undef, # SQL_MULTIPLE_ACTIVE_TXN
+# 36 => undef, # SQL_MULT_RESULT_SETS
+# 111 => undef, # SQL_NEED_LONG_DATA_LEN
+# 75 => undef, # SQL_NON_NULLABLE_COLUMNS
+# 85 => undef, # SQL_NULL_COLLATION
+# 49 => undef, # SQL_NUMERIC_FUNCTIONS
+# 9 => undef, # SQL_ODBC_API_CONFORMANCE
+# 152 => undef, # SQL_ODBC_INTERFACE_CONFORMANCE
+# 12 => undef, # SQL_ODBC_SAG_CLI_CONFORMANCE
+# 15 => undef, # SQL_ODBC_SQL_CONFORMANCE
+# 73 => undef, # SQL_ODBC_SQL_OPT_IEF
+# 10 => undef, # SQL_ODBC_VER
+# 115 => undef, # SQL_OJ_CAPABILITIES
+# 90 => undef, # SQL_ORDER_BY_COLUMNS_IN_SELECT
+# 38 => undef, # SQL_OUTER_JOINS
+# 115 => undef, # SQL_OUTER_JOIN_CAPABILITIES
+# 39 => undef, # SQL_OWNER_TERM
+# 91 => undef, # SQL_OWNER_USAGE
+# 153 => undef, # SQL_PARAM_ARRAY_ROW_COUNTS
+# 154 => undef, # SQL_PARAM_ARRAY_SELECTS
+# 80 => undef, # SQL_POSITIONED_STATEMENTS
+# 79 => undef, # SQL_POS_OPERATIONS
+# 21 => undef, # SQL_PROCEDURES
+# 40 => undef, # SQL_PROCEDURE_TERM
+# 114 => undef, # SQL_QUALIFIER_LOCATION
+# 41 => undef, # SQL_QUALIFIER_NAME_SEPARATOR
+# 42 => undef, # SQL_QUALIFIER_TERM
+# 92 => undef, # SQL_QUALIFIER_USAGE
+# 93 => undef, # SQL_QUOTED_IDENTIFIER_CASE
+# 11 => undef, # SQL_ROW_UPDATES
+# 39 => undef, # SQL_SCHEMA_TERM
+# 91 => undef, # SQL_SCHEMA_USAGE
+# 43 => undef, # SQL_SCROLL_CONCURRENCY
+# 44 => undef, # SQL_SCROLL_OPTIONS
+# 14 => undef, # SQL_SEARCH_PATTERN_ESCAPE
+# 13 => undef, # SQL_SERVER_NAME
+# 94 => undef, # SQL_SPECIAL_CHARACTERS
+# 155 => undef, # SQL_SQL92_DATETIME_FUNCTIONS
+# 156 => undef, # SQL_SQL92_FOREIGN_KEY_DELETE_RULE
+# 157 => undef, # SQL_SQL92_FOREIGN_KEY_UPDATE_RULE
+# 158 => undef, # SQL_SQL92_GRANT
+# 159 => undef, # SQL_SQL92_NUMERIC_VALUE_FUNCTIONS
+# 160 => undef, # SQL_SQL92_PREDICATES
+# 161 => undef, # SQL_SQL92_RELATIONAL_JOIN_OPERATORS
+# 162 => undef, # SQL_SQL92_REVOKE
+# 163 => undef, # SQL_SQL92_ROW_VALUE_CONSTRUCTOR
+# 164 => undef, # SQL_SQL92_STRING_FUNCTIONS
+# 165 => undef, # SQL_SQL92_VALUE_EXPRESSIONS
+# 118 => undef, # SQL_SQL_CONFORMANCE
+# 166 => undef, # SQL_STANDARD_CLI_CONFORMANCE
+# 167 => undef, # SQL_STATIC_CURSOR_ATTRIBUTES1
+# 168 => undef, # SQL_STATIC_CURSOR_ATTRIBUTES2
+# 83 => undef, # SQL_STATIC_SENSITIVITY
+# 50 => undef, # SQL_STRING_FUNCTIONS
+# 95 => undef, # SQL_SUBQUERIES
+# 51 => undef, # SQL_SYSTEM_FUNCTIONS
+# 45 => undef, # SQL_TABLE_TERM
+# 109 => undef, # SQL_TIMEDATE_ADD_INTERVALS
+# 110 => undef, # SQL_TIMEDATE_DIFF_INTERVALS
+# 52 => undef, # SQL_TIMEDATE_FUNCTIONS
+# 46 => undef, # SQL_TRANSACTION_CAPABLE
+# 72 => undef, # SQL_TRANSACTION_ISOLATION_OPTION
+# 46 => undef, # SQL_TXN_CAPABLE
+# 72 => undef, # SQL_TXN_ISOLATION_OPTION
+# 96 => undef, # SQL_UNION
+# 96 => undef, # SQL_UNION_STATEMENT
+ 47 => \&sql_user_name, # SQL_USER_NAME
+# 10000 => undef, # SQL_XOPEN_CLI_YEAR
+ );
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBD/CSV/TypeInfo.pm new/DBD-CSV-0.44/lib/DBD/CSV/TypeInfo.pm
--- old/DBD-CSV-0.41/lib/DBD/CSV/TypeInfo.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBD/CSV/TypeInfo.pm 2013-07-29 17:41:42.000000000 +0200
@@ -0,0 +1,64 @@
+#!/usr/bin/perl
+
+# Don't forget to add version and intellectual property control information.
+
+# The %type_info_all hash was automatically generated by
+# DBI::DBD::Metadata::write_typeinfo_pm v2.014214.
+
+package DBD::CSV::TypeInfo;
+
+{
+ require Exporter;
+ require DynaLoader;
+ @ISA = qw(Exporter DynaLoader);
+ @EXPORT = qw(type_info_all);
+ use DBI qw(:sql_types);
+
+ $type_info_all = [
+ { TYPE_NAME => 0,
+ DATA_TYPE => 1,
+ COLUMN_SIZE => 2,
+ LITERAL_PREFIX => 3,
+ LITERAL_SUFFIX => 4,
+ CREATE_PARAMS => 5,
+ NULLABLE => 6,
+ CASE_SENSITIVE => 7,
+ SEARCHABLE => 8,
+ UNSIGNED_ATTRIBUTE => 9,
+ FIXED_PREC_SCALE => 10,
+ AUTO_UNIQUE_VALUE => 11,
+ LOCAL_TYPE_NAME => 12,
+ MINIMUM_SCALE => 13,
+ MAXIMUM_SCALE => 14,
+ SQL_DATA_TYPE => 15,
+ SQL_DATETIME_SUB => 16,
+ NUM_PREC_RADIX => 17,
+ INTERVAL_PRECISION => 18,
+ },
+ [ "VARCHAR", SQL_VARCHAR, undef, "'", "'", undef, 0, 1, 1, 0, undef,
+ undef, undef, 1, 999999, undef, undef, undef, undef,
+ ],
+ [ "CHAR", DBIstcf_DISCARD_STRING, undef, "'", "'", undef, 0, 1, 1, 0,
+ undef, undef, undef, 1, 999999, undef, undef, undef, undef,
+ ],
+ [ "INTEGER", SQL_INTEGER, undef, "", "", undef, 0, 0, 1, 0, undef,
+ undef, undef, 0, 0, undef, undef, undef, undef,
+ ],
+ [ "REAL", SQL_REAL, undef, "", "", undef,
+ 0, 0, 1, 0, undef, undef,
+ undef, 0, 0, undef, undef, undef,
+ undef,
+ ],
+ [ "BLOB", SQL_LONGVARBINARY, undef, "'", "'", undef, 0, 1, 1, 0,
+ undef, undef, undef, 1, 999999, undef, undef, undef, undef,
+ ],
+ [ "BLOB", SQL_LONGVARBINARY, undef, "'", "'", undef, 0, 1, 1, 0,
+ undef, undef, undef, 1, 999999, undef, undef, undef, undef,
+ ],
+ [ "TEXT", SQL_LONGVARCHAR, undef, "'", "'", undef, 0, 1, 1, 0, undef,
+ undef, undef, 1, 999999, undef, undef, undef, undef,
+ ],
+ ];
+
+ 1;
+ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBD/CSV.pm new/DBD-CSV-0.44/lib/DBD/CSV.pm
--- old/DBD-CSV-0.41/lib/DBD/CSV.pm 2013-07-23 09:05:40.000000000 +0200
+++ new/DBD-CSV-0.44/lib/DBD/CSV.pm 2014-08-04 18:10:42.000000000 +0200
@@ -23,7 +23,7 @@
@ISA = qw( DBD::File );
-$VERSION = "0.41";
+$VERSION = "0.44";
$ATTRIBUTION = "DBD::CSV $DBD::CSV::VERSION by H.Merijn Brand";
$err = 0; # holds error code for DBI::err
@@ -138,6 +138,22 @@
return sprintf "%s using %s", $dbh->{csv_version}, $dtype;
} # get_csv_versions
+sub get_info
+{
+ my ($dbh, $info_type) = @_;
+ require DBD::CSV::GetInfo;
+ my $v = $DBD::CSV::GetInfo::info{int ($info_type)};
+ ref $v eq "CODE" and $v = $v->($dbh);
+ return $v;
+ } # get_info
+
+sub type_info_all
+{
+ my $dbh = shift;
+ require DBD::CSV::TypeInfo;
+ return [@$DBD::CSV::TypeInfo::type_info_all];
+ } # type_info_all
+
# --- STATEMENT ----------------------------------------------------------------
package DBD::CSV::st;
@@ -320,6 +336,8 @@
$csv->eof and return;
my @diag = _csv_diag ($csv);
+ $diag[0] == 2012 and return; # Also EOF (broken in Text::CSV_XS-1.10)
+
my $file = $tbl->{f_fqfn};
croak "Error $diag[0] while reading file $file: $diag[1] \@ line $diag[3] pos $diag[2]";
}
@@ -359,23 +377,24 @@
use DBI;
# See "Creating database handle" below
- $dbh = DBI->connect ("dbi:CSV:") or
- die "Cannot connect: $DBI::errstr";
+ $dbh = DBI->connect ("dbi:CSV:", undef, undef, {
+ f_ext => ".csv/r",
+ RaiseError => 1,
+ }) or die "Cannot connect: $DBI::errstr";
# Simple statements
- $dbh->do ("CREATE TABLE a (id INTEGER, name CHAR (10))") or
- die "Cannot prepare: " . $dbh->errstr ();
+ $dbh->do ("CREATE TABLE foo (id INTEGER, name CHAR (10))");
# Selecting
- $dbh->{RaiseError} = 1;
my $sth = $dbh->prepare ("select * from foo");
$sth->execute;
- while (my @row = $sth->fetchrow_array) {
- print "id: $row[0], name: $row[1]\n";
+ $sth->bind_columns (\my ($id, $name));
+ while ($sth->fetch) {
+ print "id: $id, name: $name\n";
}
# Updates
- my $sth = $dbh->prepare ("UPDATE a SET name = ? WHERE id = ?");
+ my $sth = $dbh->prepare ("UPDATE foo SET name = ? WHERE id = ?");
$sth->execute ("DBI rocks!", 1);
$sth->finish;
@@ -879,12 +898,12 @@
I<csv_class> (usually Text::CSV_CS) object. You may want to set these
attributes if you have unusual CSV files like F</etc/passwd> or MS Excel
generated CSV files with a semicolon as separator. Defaults are
-"\015\012", ';', '"' and '"', respectively.
+C<\015\012>", C<,>, C<"> and C<">, respectively.
The I<csv_eol> attribute defines the end-of-line pattern, which is better
known as a record separator pattern since it separates records. The default
-is windows-style end-of-lines "\015\012" for output (writing) and unset for
-input (reading), so if on unix you may want to set this to newline ("\n")
+is windows-style end-of-lines C<\015\012> for output (writing) and unset for
+input (reading), so if on unix you may want to set this to newline (C<\n>)
like this:
$dbh->{csv_eol} = "\n";
@@ -1177,7 +1196,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2009-2013 by H.Merijn Brand
+Copyright (C) 2009-2014 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t10_base.pm new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t10_base.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t10_base.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t10_base.pm 2013-08-14 13:42:26.000000000 +0200
@@ -0,0 +1,56 @@
+package DBI::Test::Case::DBD::CSV::t10_base;
+
+use strict;
+use warnings;
+
+use parent qw( DBI::Test::DBD::CSV::Case);
+
+use Test::More;
+use DBI::Test;
+use DBI;
+
+sub supported_variant
+{
+ my ($self, $test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options) = @_;
+
+ $self->is_test_for_mocked ($test_confs) and return;
+
+ return $self->SUPER::supported_variant ($test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options);
+ } # supported_variant
+
+sub run_test
+{
+ my ($self, $dbc) = @_;
+ my @DB_CREDS = @$dbc;
+ $DB_CREDS[3]->{PrintError} = 0;
+ $DB_CREDS[3]->{RaiseError} = 0;
+ if ($ENV{DBI_PUREPERL}) {
+ eval "use Text::CSV;";
+ $@ or $DB_CREDS[3]->{csv_class} = "Text::CSV"
+ }
+
+ defined $ENV{DBI_SQL_NANO} or
+ eval "use SQL::Statement;";
+
+ ok (my $switch = DBI->internal, "DBI->internal");
+ is (ref $switch, "DBI::dr", "Driver class");
+
+ # This is a special case. install_driver should not normally be used.
+ ok (my $drh = DBI->install_driver ("CSV"), "Install driver");
+
+ is (ref $drh, "DBI::dr", "Driver class installed");
+
+ ok ($drh->{Version}, "Driver version $drh->{Version}");
+
+ my $dbh = connect_ok (@DB_CREDS, "Connect with dbi:CSV:");
+
+ my $csv_version_info = $dbh->csv_versions ();
+ ok ($csv_version_info, "csv_versions");
+ diag ($csv_version_info);
+
+ done_testing ();
+ }
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t11_dsnlist.pm new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t11_dsnlist.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t11_dsnlist.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t11_dsnlist.pm 2013-08-14 14:24:37.000000000 +0200
@@ -0,0 +1,64 @@
+package DBI::Test::Case::DBD::CSV::t11_dsnlist;
+
+use strict;
+use warnings;
+
+use parent qw( DBI::Test::DBD::CSV::Case);
+
+use Test::More;
+use DBI::Test;
+use DBI;
+
+sub supported_variant
+{
+ my ($self, $test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options) = @_;
+
+ $self->is_test_for_mocked ($test_confs) and return;
+
+ return $self->SUPER::supported_variant ($test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options);
+ } # supported_variant
+
+use vars q{$AUTOLOAD};
+sub AUTOLOAD
+{
+ (my $sub = $AUTOLOAD) =~ s/.*:/DBI::Test::DBD::CSV::Case::/;
+ { no strict "refs";
+ $sub->(@_);
+ }
+ } # AUTOLOAD
+
+sub run_test
+{
+ my ($self, $dbc) = @_;
+ my @DB_CREDS = @$dbc;
+ $DB_CREDS[3]->{PrintError} = 0;
+ $DB_CREDS[3]->{RaiseError} = 0;
+ if ($ENV{DBI_PUREPERL}) {
+ eval "use Text::CSV;";
+ $@ or $DB_CREDS[3]->{csv_class} = "Text::CSV"
+ }
+
+ defined $ENV{DBI_SQL_NANO} or
+ eval "use SQL::Statement;";
+
+ my $dbh = connect_ok (@DB_CREDS, "Connect with dbi:CSV:");
+
+ ok ($dbh->ping, "ping");
+
+ # This returns at least ".", "lib", and "t"
+ ok (my @dsn = DBI->data_sources ("CSV"), "data_sources");
+ ok (@dsn >= 2, "more than one");
+ ok ($dbh->disconnect, "disconnect");
+
+ # Try different DSN's
+ foreach my $d (qw( . example lib t )) {
+ ok (my $dns = Connect ("dbi:CSV:f_dir=$d"), "use $d as f_dir");
+ ok ($dbh->disconnect, "disconnect");
+ }
+
+ done_testing ();
+ } # run_test
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t20_createdrop.pm new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t20_createdrop.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t20_createdrop.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t20_createdrop.pm 2013-09-17 20:38:13.000000000 +0200
@@ -0,0 +1,68 @@
+package DBI::Test::Case::DBD::CSV::t20_createdrop;
+
+use strict;
+use warnings;
+
+use parent qw( DBI::Test::DBD::CSV::Case );
+
+use Test::More;
+use DBI::Test;
+use DBI;
+
+sub supported_variant
+{
+ my ($self, $test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options) = @_;
+
+ $self->is_test_for_mocked ($test_confs) and return;
+
+ return $self->SUPER::supported_variant ($test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options);
+ } # supported_variant
+
+my @tbl_def = (
+ [ "id", "INTEGER", 4, 0 ],
+ [ "name", "CHAR", 64, 0 ],
+ );
+
+use vars q{$AUTOLOAD};
+sub AUTOLOAD
+{
+ (my $sub = $AUTOLOAD) =~ s/.*:/DBI::Test::DBD::CSV::Case::/;
+ { no strict "refs";
+ $sub->(@_);
+ }
+ } # AUTOLOAD
+
+sub run_test
+{
+ my ($self, $dbc) = @_;
+ my @DB_CREDS = @$dbc;
+ $DB_CREDS[3]->{PrintError} = 0;
+ $DB_CREDS[3]->{RaiseError} = 0;
+ $DB_CREDS[3]->{f_dir} = DbDir ();
+ if ($ENV{DBI_PUREPERL}) {
+ eval "use Text::CSV;";
+ $@ or $DB_CREDS[3]->{csv_class} = "Text::CSV"
+ }
+
+ defined $ENV{DBI_SQL_NANO} or
+ eval "use SQL::Statement;";
+
+ my $dbh = connect_ok (@DB_CREDS, "Connect with dbi:CSV:");
+
+ ok (my $tbl = FindNewTable ($dbh), "find new test table");
+
+ like (my $def = TableDefinition ($tbl, @tbl_def),
+ qr{^create table $tbl}i, "table definition");
+ do_ok ($dbh, $def, "create table");
+ my $tbl_file = DbFile ($tbl);
+ ok (-s $tbl_file, "file exists");
+ do_ok ($dbh, "drop table $tbl", "drop table");
+ ok ($dbh->disconnect, "disconnect");
+ ok (!-f $tbl_file, "file removed");
+
+ done_testing ();
+ } # run_test
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t85_error.pm new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t85_error.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/Case/DBD/CSV/t85_error.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/Case/DBD/CSV/t85_error.pm 2013-09-17 21:12:17.000000000 +0200
@@ -0,0 +1,83 @@
+package DBI::Test::Case::DBD::CSV::t85_error;
+
+use strict;
+use warnings;
+
+use parent qw( DBI::Test::DBD::CSV::Case );
+
+use Test::More;
+use DBI::Test;
+use DBI;
+
+sub supported_variant
+{
+ my ($self, $test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options) = @_;
+
+ $self->is_test_for_mocked ($test_confs) and return;
+
+ return $self->SUPER::supported_variant ($test_case, $cfg_pfx, $test_confs,
+ $dsn_pfx, $dsn_cred, $options);
+ } # supported_variant
+
+my @tbl_def = (
+ [ "id", "INTEGER", 4, 0 ],
+ [ "name", "CHAR", 64, 0 ],
+ );
+
+use vars q{$AUTOLOAD};
+sub AUTOLOAD
+{
+ (my $sub = $AUTOLOAD) =~ s/.*:/DBI::Test::DBD::CSV::Case::/;
+ { no strict "refs";
+ $sub->(@_);
+ }
+ } # AUTOLOAD
+
+sub run_test
+{
+ my ($self, $dbc) = @_;
+ my @DB_CREDS = @$dbc;
+ $DB_CREDS[3]->{PrintError} = 0;
+ $DB_CREDS[3]->{RaiseError} = 0;
+ $DB_CREDS[3]->{f_dir} = DbDir ();
+ if ($ENV{DBI_PUREPERL}) {
+ eval "use Text::CSV;";
+ $@ or $DB_CREDS[3]->{csv_class} = "Text::CSV"
+ }
+
+ defined $ENV{DBI_SQL_NANO} or
+ eval "use SQL::Statement;";
+
+ my $dbh = connect_ok (@DB_CREDS, "Connect with dbi:CSV:");
+
+ ok (my $tbl = FindNewTable ($dbh), "find new test table");
+
+ like (my $def = TableDefinition ($tbl, @tbl_def),
+ qr{^create table $tbl}i, "table definition");
+ do_ok ($dbh, $def, "create table");
+ my $tbl_file = DbFile ($tbl);
+ ok (-s $tbl_file, "file exists");
+ ok ($dbh->disconnect, "disconnect");
+ undef $dbh;
+
+ ok (-f $tbl_file, "file still there");
+ open my $fh, ">>", $tbl_file;
+ print $fh qq{1, "p0wnd",",""",0\n}; # Very bad content
+ close $fh;
+
+ ok ($dbh = connect_ok (@DB_CREDS, "Connect with dbi:CSV:"));
+ { local $dbh->{PrintError} = 0;
+ local $dbh->{RaiseError} = 0;
+ my $sth = prepare_ok ($dbh, "select * from $tbl", "prepare");
+ is ($sth->execute, undef, "execute should fail");
+ # It is safe to regex on this text, as it is NOT local dependant
+ like ($dbh->errstr, qr{\w+ \@ line [0-9?]+ pos [0-9?]+}, "error message");
+ };
+ do_ok ($dbh, "drop table $tbl", "drop");
+ ok ($dbh->disconnect, "disconnect");
+
+ done_testing ();
+ } # run_test
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/DBD/CSV/Conf.pm new/DBD-CSV-0.44/lib/DBI/Test/DBD/CSV/Conf.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/DBD/CSV/Conf.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/DBD/CSV/Conf.pm 2013-08-13 13:03:51.000000000 +0200
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+
+package DBI::Test::DBD::CSV::Conf;
+
+use strict;
+use warnings;
+use parent qw( DBI::Test::Conf );
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/lib/DBI/Test/DBD/CSV/List.pm new/DBD-CSV-0.44/lib/DBI/Test/DBD/CSV/List.pm
--- old/DBD-CSV-0.41/lib/DBI/Test/DBD/CSV/List.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-CSV-0.44/lib/DBI/Test/DBD/CSV/List.pm 2013-08-12 14:13:07.000000000 +0200
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+package DBI::Test::DBD::CSV::List;
+
+use strict;
+use warnings;
+use parent "DBI::Test::List";
+
+sub test_cases
+{
+ my @pm = glob "lib/DBI/Test/Case/DBD/CSV/*.pm";
+ s{lib/DBI/Test/Case/DBD/CSV/(\S+)\.pm}{DBD::CSV::$1} for @pm;
+ return @pm;
+ } # test_cases
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/41_nulls.t new/DBD-CSV-0.44/t/41_nulls.t
--- old/DBD-CSV-0.41/t/41_nulls.t 2010-08-06 13:42:10.000000000 +0200
+++ new/DBD-CSV-0.44/t/41_nulls.t 2013-07-29 16:54:15.000000000 +0200
@@ -9,6 +9,7 @@
BEGIN { use_ok ("DBI") }
do "t/lib.pl";
+my $nano = $ENV{DBI_SQL_NANO};
my @tbl_def = (
[ "id", "INTEGER", 4, &COL_NULLABLE ],
[ "name", "CHAR", 64, &COL_NULLABLE ],
@@ -25,11 +26,15 @@
ok ($dbh->do ("insert into $tbl values (NULL, 'NULL-id', ' ')"), "insert");
+my $row;
+
ok (my $sth = $dbh->prepare ("select * from $tbl where id is NULL"), "prepare");
ok ($sth->execute, "execute");
-ok (my $row = $sth->fetch, "fetch");
-
-is_deeply ($row, [ "", "NULL-id", " " ], "default content");
+TODO: {
+ local $TODO = $nano ? "SQL::Nano does not yet support this syntax" : undef;
+ ok ($row = $sth->fetch, "fetch");
+ is_deeply ($row, [ "", "NULL-id", " " ], "default content");
+ }
ok ($sth->finish, "finish");
undef $sth;
@@ -37,9 +42,11 @@
ok ($sth = $dbh->prepare ("select * from $tbl where id is NULL"), "prepare");
ok ($sth->execute, "execute");
-ok ($row = $sth->fetch, "fetch");
-is_deeply ($row, [ undef, "NULL-id", " " ], "NULL content");
-
+TODO: {
+ local $TODO = $nano ? "SQL::Nano does not yet support this syntax" : undef;
+ ok ($row = $sth->fetch, "fetch");
+ is_deeply ($row, [ undef, "NULL-id", " " ], "NULL content");
+ }
ok ($sth->finish, "finish");
undef $sth;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/42_bindparam.t new/DBD-CSV-0.44/t/42_bindparam.t
--- old/DBD-CSV-0.41/t/42_bindparam.t 2010-08-06 13:44:09.000000000 +0200
+++ new/DBD-CSV-0.44/t/42_bindparam.t 2013-07-29 17:00:48.000000000 +0200
@@ -7,6 +7,13 @@
use Test::More;
BEGIN { use_ok ("DBI") }
+
+if ($ENV{DBI_SQL_NANO}) {
+ diag ("These tests are not yet supported for SQL::Nano");
+ done_testing (1);
+ exit 0;
+ }
+
do "t/lib.pl";
defined &SQL_VARCHAR or *SQL_VARCHAR = sub { 12 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/44_listfields.t new/DBD-CSV-0.44/t/44_listfields.t
--- old/DBD-CSV-0.41/t/44_listfields.t 2010-08-06 13:42:18.000000000 +0200
+++ new/DBD-CSV-0.44/t/44_listfields.t 2013-07-30 12:32:17.000000000 +0200
@@ -9,9 +9,11 @@
BEGIN { use_ok ("DBI") }
do "t/lib.pl";
+defined &SQL_CHAR or *SQL_CHAR = sub { 1 };
defined &SQL_VARCHAR or *SQL_VARCHAR = sub { 12 };
defined &SQL_INTEGER or *SQL_INTEGER = sub { 4 };
+my $nano = $ENV{DBI_SQL_NANO};
my @tbl_def = (
[ "id", "INTEGER", 4, &COL_KEY ],
[ "name", "CHAR", 64, &COL_NULLABLE ],
@@ -34,16 +36,17 @@
is ($sth->{NAME_uc}[1], uc $tbl_def[1][0], "NAME_uc");
is_deeply ($sth->{NAME_lc_hash},
{ map { ( lc $tbl_def[$_][0] => $_ ) } 0 .. $#tbl_def }, "NAME_lc_hash");
-# TODO tests
-#s ($sth->{TYPE}[0], &SQL_INTEGER, "TYPE 1");
-#s ($sth->{TYPE}[1], &SQL_VARCHAR, "TYPE 2");
-is ($sth->{PRECISION}[0], 0, "PRECISION 1");
-is ($sth->{PRECISION}[1], 64, "PRECISION 2");
-is ($sth->{NULLABLE}[0], 0, "NULLABLE 1");
-is ($sth->{NULLABLE}[1], 1, "NULLABLE 2");
+if ($DBD::File::VERSION gt "0.42") {
+ is ($sth->{TYPE}[0], $nano ? &SQL_VARCHAR : &SQL_INTEGER, "TYPE 1");
+ is ($sth->{TYPE}[1], $nano ? &SQL_VARCHAR : &SQL_CHAR, "TYPE 2");
+ is ($sth->{PRECISION}[0], 0, "PRECISION 1");
+ is ($sth->{PRECISION}[1], $nano ? 0 : 64, "PRECISION 2");
+ is ($sth->{NULLABLE}[0], $nano ? 1 : 0, "NULLABLE 1");
+ is ($sth->{NULLABLE}[1], 1, "NULLABLE 2");
+ }
ok ($sth->finish, "finish");
-#s ($sth->{NUM_OF_FIELDS}, 0, "NUM_OF_FIELDS");
+#s ($sth->{NUM_OF_FIELDS}, 0, "NUM_OF_FIELDS");
undef $sth;
ok ($dbh->do ("drop table $tbl"), "drop table");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/51_commit.t new/DBD-CSV-0.44/t/51_commit.t
--- old/DBD-CSV-0.41/t/51_commit.t 2010-08-06 13:42:26.000000000 +0200
+++ new/DBD-CSV-0.44/t/51_commit.t 2013-07-29 16:58:27.000000000 +0200
@@ -9,6 +9,7 @@
BEGIN { use_ok ("DBI") }
do "t/lib.pl";
+my $nano = $ENV{DBI_SQL_NANO};
my @tbl_def = (
[ "id", "INTEGER", 4, 0 ],
[ "name", "CHAR", 64, 0 ],
@@ -18,6 +19,11 @@
{
my ($dbh, $tbl) = @_;
+ if ($nano) {
+ diag ("SQL::Nano does not support count (*)");
+ return 0;
+ }
+
local $dbh->{PrintError} = 1;
my $sth = $dbh->prepare ("SELECT count (*) FROM $tbl") or return;
$sth->execute or return;
@@ -41,12 +47,12 @@
# Check whether AutoCommit mode works.
ok ($dbh->do ("insert into $tbl values (1, 'Jochen')"), "insert 1");
-is (RowCount ($dbh, $tbl), 1, "1 row");
+is (RowCount ($dbh, $tbl), $nano ? 0 : 1, "1 row");
ok ($dbh->disconnect, "disconnect");
ok ($dbh = Connect (), "connect");
-is (RowCount ($dbh, $tbl), 1, "still 1 row");
+is (RowCount ($dbh, $tbl), $nano ? 0 : 1, "still 1 row");
# Check whether commit issues a warning in AutoCommit mode
ok ($dbh->do ("insert into $tbl values (2, 'Tim')"), "insert 2");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/55_dir_search.t new/DBD-CSV-0.44/t/55_dir_search.t
--- old/DBD-CSV-0.41/t/55_dir_search.t 2013-07-26 13:46:15.000000000 +0200
+++ new/DBD-CSV-0.44/t/55_dir_search.t 2013-08-11 10:59:42.000000000 +0200
@@ -8,12 +8,15 @@
BEGIN { use_ok ("DBI") }
require "t/lib.pl";
-my $tmpdir = File::Spec->tmpdir ();
my $tstdir = DbDir ();
+my @extdir = ("t", File::Spec->tmpdir ());
+if (open my $fh, "<", "tests.skip") {
+ grep m/\b tmpdir \b/x => <$fh> and pop @extdir;
+ }
my $dbh = DBI->connect ("dbi:CSV:", undef, undef, {
f_schema => undef,
f_dir => DbDir (),
- f_dir_search => [ "t", $tmpdir ],
+ f_dir_search => \@extdir,
f_ext => ".csv/r",
f_lock => 2,
f_encoding => "utf8",
@@ -36,7 +39,7 @@
$dbh->do ("create table foo (c_foo integer, foo char (1))");
$dbh->do ("insert into foo values ($_, $_)") for 1, 2, 3;
-my @test_dirs = ($tstdir, "t", $tmpdir);
+my @test_dirs = ($tstdir, @extdir);
is ($dir{$_}, 1, "DSN for $_") for @test_dirs;
my %tbl = map { $_ => 1 } $dbh->tables (undef, undef, undef, undef);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/61_meta.t new/DBD-CSV-0.44/t/61_meta.t
--- old/DBD-CSV-0.41/t/61_meta.t 2013-07-26 17:11:29.000000000 +0200
+++ new/DBD-CSV-0.44/t/61_meta.t 2014-05-12 08:05:36.000000000 +0200
@@ -2,7 +2,6 @@
use strict;
use warnings;
-use version;
use Test::More;
use DBI qw(:sql_types);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/72_csv-schema.t new/DBD-CSV-0.44/t/72_csv-schema.t
--- old/DBD-CSV-0.41/t/72_csv-schema.t 2013-07-25 18:21:55.000000000 +0200
+++ new/DBD-CSV-0.44/t/72_csv-schema.t 2014-03-31 08:09:42.000000000 +0200
@@ -23,14 +23,13 @@
qr{^create table $tbl}i, "table definition");
ok ($dbh->do ($def), "create table");
+my @tbl = $dbh->tables ();
if (my $usr = eval { getpwuid $< }) {
- $usr = qq{"$usr"};
- is_deeply ([ $dbh->tables () ],
- [ qq{$usr.$tbl} ], "tables");
+ s/^(['"`])(.+)\1\./$2./ for @tbl;
+ is_deeply (\@tbl, [ qq{$usr.$tbl} ], "tables");
}
else {
- is_deeply ([ $dbh->tables () ],
- [ qq{$tbl} ], "tables");
+ is_deeply (\@tbl, [ qq{$tbl} ], "tables");
}
ok ($dbh->disconnect, "disconnect");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/73_csv-case.t new/DBD-CSV-0.44/t/73_csv-case.t
--- old/DBD-CSV-0.41/t/73_csv-case.t 2013-07-25 18:21:42.000000000 +0200
+++ new/DBD-CSV-0.44/t/73_csv-case.t 2014-08-04 21:42:29.000000000 +0200
@@ -36,10 +36,7 @@
ok ($dbh = Connect (), "connect");
ok ($dbh->{ignore_missing_table} = 1, "ignore missing tables");
-# I have not yet found an *easy* way to test the case sensitivity of
-# the target FS, which might not prove at all that things will work
-# on all folders, as case in-sensitive and case-sensitive FS's might
-# co-exist.
+my $case_ok = isSaneCase ();
for (qw( foo foO fOo fOO Foo FoO FOo FOO )) {
ok (my $sth = $dbh->prepare (qq{select * from "$_"}), "prepare \"$_\"");
@@ -48,7 +45,7 @@
}
else {
TODO: {
- local $TODO = "Filesystem has to be case-aware";
+ local $TODO = "Filesystem has to be case-aware" unless $case_ok;
local $sth->{PrintError} = 0;
ok (!$sth->execute, "table name '$_' should not match 'foo'");
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/80_rt.t new/DBD-CSV-0.44/t/80_rt.t
--- old/DBD-CSV-0.41/t/80_rt.t 2013-07-25 18:25:21.000000000 +0200
+++ new/DBD-CSV-0.44/t/80_rt.t 2013-08-13 13:20:36.000000000 +0200
@@ -5,6 +5,13 @@
use Test::More;
use DBI qw(:sql_types);
+
+if ($ENV{DBI_SQL_NANO}) {
+ ok ($ENV{DBI_SQL_NANO}, "These tests are not suit for SQL::Nano");
+ done_testing ();
+ exit 0;
+ }
+
do "t/lib.pl";
my ($rt, %input, %desc);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-CSV-0.41/t/lib.pl new/DBD-CSV-0.44/t/lib.pl
--- old/DBD-CSV-0.41/t/lib.pl 2013-07-25 18:57:00.000000000 +0200
+++ new/DBD-CSV-0.44/t/lib.pl 2014-08-04 21:41:59.000000000 +0200
@@ -154,6 +154,22 @@
} # FindNewTable
}
+sub isSaneCase
+{
+ my @f = glob "??????.???";
+ foreach my $try (qw( FrUbLl BlURgH wOngOs )) {
+ my $fn = "$try.csv";
+ grep m{^$fn$}i => @f and next;
+ open my $fh, ">", $fn or return 1;
+ close $fh;
+ my $sane = (-f $fn && ! -f lc $fn && ! -f uc $fn);
+ unlink $fn;
+ return $sane;
+ }
+ # Assume insane
+ return 0;
+ } # isSaneCase
+
sub ServerError
{
die "# Cannot connect: $DBI::errstr\n";
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Task-Kensho-Config for openSUSE:Factory checked in at 2014-09-22 09:23:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Task-Kensho-Config (Old)
and /work/SRC/openSUSE:Factory/.perl-Task-Kensho-Config.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Task-Kensho-Config"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Task-Kensho-Config/perl-Task-Kensho-Config.changes 2014-02-12 09:48:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Task-Kensho-Config.new/perl-Task-Kensho-Config.changes 2014-09-22 09:23:32.000000000 +0200
@@ -1,0 +2,23 @@
+Fri Sep 19 12:15:47 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.38
+ - WebDev: Template::Toolkit is not indexed (see RT#92588) -
+ refer to Template instead
+ - subtask distributions now just use regular prereqs on their
+ component modules, rather than using optional_features metadata
+ - Task-Kensho now once again prompts at install time for each
+ subtask to be optionally installed
+
+ 0.37 2014-08-16
+ - ModuleDev: Switch Carp::Always over to Devel::Confess (per mst)
+ - ModuleDev: Add Data::Printer (per Sawyer X)
+ - ModuleDev: Add Devel::Dwarn (per mst)
+ - Toolchain: Add Pinto (per Sawyer X)
+ - Toolchain: Add App::FatPacker (per perigrin)
+
+ 0.36 2014-03-08
+ - fix pod markup error in main Task::Kensho distribution
+ - module list revisions to CLI, Dates, Toolchain, WebCrawling,
+ WebDev
+
+-------------------------------------------------------------------
Old:
----
Task-Kensho-Config-0.35.tar.gz
New:
----
Task-Kensho-Config-0.38.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Task-Kensho-Config.spec ++++++
--- /var/tmp/diff_new_pack.cleIrF/_old 2014-09-22 09:23:32.000000000 +0200
+++ /var/tmp/diff_new_pack.cleIrF/_new 2014-09-22 09:23:32.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Task-Kensho-Config
-Version: 0.35
+Version: 0.38
Release: 0
%define cpan_name Task-Kensho-Config
Summary: A Glimpse at an Enlightened Perl: Config Modules
@@ -29,11 +29,11 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build::Tiny) >= 0.034
-BuildRequires: perl(version)
-
-Recommends: perl(Config::Any)
-Recommends: perl(Config::General)
+BuildRequires: perl(Config::Any)
+BuildRequires: perl(Config::General)
+BuildRequires: perl(Module::Build::Tiny) >= 0.038
+Requires: perl(Config::Any)
+Requires: perl(Config::General)
%{perl_requires}
%description
@@ -44,10 +44,9 @@
meaning "seeing one's nature"[1] or "true self."[2] It generally
"refers to the realization of nonduality of subject and object."[3]
-the Task::Kensho manpage is a first cut at building a list of recommended
-modules for Enlightened Perl development. CPAN is wonderful, but there are
-too many wheels and you have to pick and choose amongst the various
-competing technologies.
+the Task::Kensho manpage is a list of recommended modules for Enlightened
+Perl development. CPAN is wonderful, but there are too many wheels and you
+have to pick and choose amongst the various competing technologies.
The plan is for the Task::Kensho manpage to be a rough testing ground for
ideas that go into among other things the Enlightened Perl Organisation
@@ -86,6 +85,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README README.md
+%doc Changes LICENSE README weaver.ini
%changelog
++++++ Task-Kensho-Config-0.35.tar.gz -> Task-Kensho-Config-0.38.tar.gz ++++++
++++ 2540 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kiwi-config-openSUSE for openSUSE:Factory checked in at 2014-09-22 09:23:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiwi-config-openSUSE (Old)
and /work/SRC/openSUSE:Factory/.kiwi-config-openSUSE.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiwi-config-openSUSE"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kiwi-config-openSUSE/kiwi-config-openSUSE.changes 2014-09-18 07:12:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kiwi-config-openSUSE.new/kiwi-config-openSUSE.changes 2014-09-22 09:23:30.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Sep 19 11:25:12 UTC 2014 - coolo(a)suse.com
+
+- set some english defaults to get the console into proper UTF-8
+ during boot
+
+-------------------------------------------------------------------
+Fri Sep 19 09:15:58 UTC 2014 - coolo(a)suse.com
+
+- fix permissions of langset.service
+
+-------------------------------------------------------------------
New:
----
kiwi-config-openSUSE-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kiwi-config-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.TOcv4A/_old 2014-09-22 09:23:31.000000000 +0200
+++ /var/tmp/diff_new_pack.TOcv4A/_new 2014-09-22 09:23:31.000000000 +0200
@@ -53,6 +53,7 @@
Source27: SoftLocks
Source30: GPL-2.0.txt
Source31: gpl-3.0.txt
+Source32: kiwi-config-openSUSE-rpmlintrc
ExcludeArch: ia64 ppc64 s390x s390 ppc
%description
@@ -124,6 +125,7 @@
jing /usr/share/kiwi/modules/KIWISchema.rng config.xml
sed -e "s,^desktop=,desktop=$desktop," %{SOURCE9} > isopatch.sh
+ chmod a+x isopatch.sh
#test -z "$out" # jing is a great tool always exit 0
mkdir config-cdroot
cd config-cdroot
@@ -144,7 +146,7 @@
echo 0123456-7890-$desktop-$type-0123456 > var/lib/zypp/AnonymousUniqueId
cp -a $localedir etc/langset
install -m 755 %{SOURCE23} etc/langset.sh
- install -D -m 755 %{SOURCE16} usr/lib/systemd/system/langset.service
+ install -D -m 644 %{SOURCE16} usr/lib/systemd/system/langset.service
install -D -m 755 %{SOURCE11} usr/bin/correct_live_for_reboot
install -D -m 755 %{SOURCE12} usr/bin/correct_live_install
install -m 644 %{SOURCE26} etc/YaST2/liveinstall.patch
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.TOcv4A/_old 2014-09-22 09:23:31.000000000 +0200
+++ /var/tmp/diff_new_pack.TOcv4A/_new 2014-09-22 09:23:31.000000000 +0200
@@ -98,6 +98,14 @@
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN linux
baseUpdateSysConfig /etc/sysconfig/keyboard KEYTABLE us.map.gz
baseUpdateSysConfig /etc/sysconfig/keyboard YAST_KEYBOARD english-us,pc104
+baseUpdateSysConfig /etc/sysconfig/keyboard COMPOSETABLE "clear latin1.add"
+
+baseUpdateSysConfig /etc/sysconfig/language RC_ALL en_US.UTF-8
+
+baseUpdateSysConfig /etc/sysconfig/console CONSOLE_FONT "lat9w-16.psfu"
+baseUpdateSysConfig /etc/sysconfig/console CONSOLE_SCREENMAP trivial
+baseUpdateSysConfig /etc/sysconfig/console CONSOLE_MAGIC "(K"
+baseUpdateSysConfig /etc/sysconfig/console CONSOLE_ENCODING "UTF-8"
# bug 891183 yast2 live-installer --gtk segfaults
baseUpdateSysConfig /etc/sysconfig/yast2 WANTED_GUI qt
++++++ kiwi-config-openSUSE-rpmlintrc ++++++
# we're just config
addFilter("systemd-service-without-service_.*");
++++++ langset.sh ++++++
--- /var/tmp/diff_new_pack.TOcv4A/_old 2014-09-22 09:23:31.000000000 +0200
+++ /var/tmp/diff_new_pack.TOcv4A/_new 2014-09-22 09:23:31.000000000 +0200
@@ -25,7 +25,6 @@
sed -i -e "s#$key=\".*#$key=\"$value\"#" /etc/sysconfig/language
sed -i -e "s#$key=\".*#$key=\"$value\"#" /etc/sysconfig/keyboard
sed -i -e "s#$key=\".*#$key=\"$value\"#" /etc/sysconfig/console
-# sed -i -e "s#$key=\".*#$key=\"$value\"#" /etc/sysconfig/clock
done
echo "$Language""_$Country" > /var/lib/zypp/RequestedLocales
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libmlx4-rdmav2 for openSUSE:Factory checked in at 2014-09-22 09:23:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmlx4-rdmav2 (Old)
and /work/SRC/openSUSE:Factory/.libmlx4-rdmav2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmlx4-rdmav2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libmlx4-rdmav2/libmlx4-rdmav2.changes 2014-09-09 19:00:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libmlx4-rdmav2.new/libmlx4-rdmav2.changes 2014-09-22 09:23:23.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 19 12:27:18 CEST 2014 - pth(a)suse.de
+
+- Remove libmlx4-s390.patch.
+
+-------------------------------------------------------------------
@@ -4,0 +10,2 @@
+- Add libmlx4-sle11.patch.xz which patches configure and Makefile.in
+ if autoconf is too old.
Old:
----
libmlx4-s390.patch
New:
----
libmlx4-sle11.patch.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmlx4-rdmav2.spec ++++++
--- /var/tmp/diff_new_pack.D7sPTT/_old 2014-09-22 09:23:24.000000000 +0200
+++ /var/tmp/diff_new_pack.D7sPTT/_new 2014-09-22 09:23:24.000000000 +0200
@@ -29,7 +29,6 @@
Source1: connectx_port_config
Source2: baselibs.conf
Patch0: libmlx4-fix_type_punning.patch
-Patch1: libmlx4-s390.patch
Patch2: libmlx4-resize_cq-Fix-possible-endless-loop-scanning-CQ.patch
Patch3: libmlx4-Remove_compatibility_with_libibverbs-1.1.7.patch
Patch4: libmlx4-Update_to_use_libiverbs_extension_support_verbs_regi.patch
@@ -37,6 +36,7 @@
Patch6: libmlx4-Add-RoCE-IP-based-addressing-support-for-UD-QPs.patch
Patch7: libmlx4-Add-ibv_query_port_ex-support.patch
Patch8: libmlx4-Add-receive-flow-steering-support.patch
+Patch9: libmlx4-sle11.patch.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@@ -84,13 +84,16 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch1 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
+%if 0%suse_version < 1315
+%patch9 -p1
+%else
autoreconf -fi
+%endif
%configure --disable-static
make %{?_smp_mflags} V=1
++++++ libmlx4-sle11.patch.xz ++++++
++++ 38084 lines (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-blist for openSUSE:Factory checked in at 2014-09-22 09:23:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blist (Old)
and /work/SRC/openSUSE:Factory/.python-blist.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-blist"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blist/python-blist.changes 2013-12-03 10:31:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-blist.new/python-blist.changes 2014-09-22 09:23:16.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 19 09:29:37 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to 1.3.6
+ * No upstream changelog
+- Remove upstream-included pull-request-56.patch
+
+-------------------------------------------------------------------
Old:
----
blist-1.3.4.tar.gz
pull-request-56.patch
New:
----
blist-1.3.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-blist.spec ++++++
--- /var/tmp/diff_new_pack.2QCDc1/_old 2014-09-22 09:23:17.000000000 +0200
+++ /var/tmp/diff_new_pack.2QCDc1/_new 2014-09-22 09:23:17.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-blist
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
Name: python-blist
-Version: 1.3.4
+Version: 1.3.6
Release: 0
Summary: A list-like type with better asymptotic performance
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://stutzbachenterprises.com/blist/
Source: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM: speilicke(a)suse.com -- https://github.com/DanielStutzbach/blist/pull/56
-Patch0: pull-request-56.patch
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -41,7 +39,6 @@
%prep
%setup -q -n blist-%{version}
-%patch0 -p1
%build
CFLAGS="%{optflags}" python setup.py build
@@ -55,11 +52,7 @@
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
-%{python_sitearch}/blist-%{version}-py%{py_ver}.egg-info
-%{python_sitearch}/blist.py*
-%{python_sitearch}/_blist.so
-%{python_sitearch}/_btuple.py*
-%{python_sitearch}/_sorteddict.py*
-%{python_sitearch}/_sortedlist.py*
+%{python_sitearch}/blist-%{version}-py*.egg-info
+%{python_sitearch}/blist/
%changelog
++++++ blist-1.3.4.tar.gz -> blist-1.3.6.tar.gz ++++++
++++ 29753 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package crash for openSUSE:Factory checked in at 2014-09-22 09:23:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
and /work/SRC/openSUSE:Factory/.crash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash"
Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes 2014-08-14 14:58:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2014-09-22 09:23:12.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Sep 17 14:53:05 UTC 2014 - jeffm(a)suse.com
+
+- Upgrade to 7.0.8 from upstream. For a detailed changelog see
+ http://people.redhat.com/anderson/crash.changelog.html
+
+- Dropped (now in upstream):
+ - crash-keep-file-orig-with-name-on-select.patch:
+ - As crash-7.0.8/gdb-7.6-ppc64le-support.patch:
+ - crash-gdb-7.6-ppc64_sysv_abi_push_float.patch
+ - crash-gdb-7.6-bound_minimal_symbol.patch
+ - crash-gdb-7.6-add-powerpc64le-linux.patch
+ - crash-gdb-7.6-update-autoconf-2013-04-24.patch
+ - crash-gdb-7.6-ppc_insns_match_pattern.patch
+ - crash-gdb-7.6-floatformat.patch
+ - crash-gdb-7.6-ppc64-ELFv2-trampoline-match.patch
+ - crash-gdb-7.6-update-autoconf-2013-06-10.patch
+ - crash-gdb-7.6-ppc64le.patch
+
+-------------------------------------------------------------------
Old:
----
crash-7.0.7.tar.gz
crash-gdb-7.6-add-powerpc64le-linux.patch
crash-gdb-7.6-bound_minimal_symbol.patch
crash-gdb-7.6-floatformat.patch
crash-gdb-7.6-ppc64-ELFv2-trampoline-match.patch
crash-gdb-7.6-ppc64_sysv_abi_push_float.patch
crash-gdb-7.6-ppc64le.patch
crash-gdb-7.6-ppc_insns_match_pattern.patch
crash-gdb-7.6-update-autoconf-2013-04-24.patch
crash-gdb-7.6-update-autoconf-2013-06-10.patch
crash-keep-file-orig-with-name-on-select.patch
New:
----
crash-7.0.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.WVWXhl/_old 2014-09-22 09:23:14.000000000 +0200
+++ /var/tmp/diff_new_pack.WVWXhl/_new 2014-09-22 09:23:14.000000000 +0200
@@ -46,7 +46,7 @@
Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
License: GPL-3.0+ and GFDL-1.2
Group: Development/Tools/Debuggers
-Version: 7.0.7
+Version: 7.0.8
Release: 0
Source: %{name}-%{version}.tar.gz
Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2
@@ -59,15 +59,6 @@
Source98: %{name}-kmp-preamble
Source99: crash-rpmlintrc
Source100: %{name}-gdb-7.6.series
-Source101: %{name}-gdb-7.6-ppc64_sysv_abi_push_float.patch
-Source102: %{name}-gdb-7.6-bound_minimal_symbol.patch
-Source103: %{name}-gdb-7.6-add-powerpc64le-linux.patch
-Source104: %{name}-gdb-7.6-update-autoconf-2013-04-24.patch
-Source105: %{name}-gdb-7.6-ppc_insns_match_pattern.patch
-Source106: %{name}-gdb-7.6-floatformat.patch
-Source107: %{name}-gdb-7.6-ppc64-ELFv2-trampoline-match.patch
-Source108: %{name}-gdb-7.6-update-autoconf-2013-06-10.patch
-Source109: %{name}-gdb-7.6-ppc64le.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: %{name}-make-emacs-default.diff
Patch2: %{name}-sles9-quirk.patch
@@ -79,7 +70,6 @@
Patch12: eppic-switch-to-system-lib.patch
Patch13: %{name}-patch-gdb.patch
Patch15: %{name}_enable_snappy_support.patch
-Patch16: %{name}-keep-file-orig-with-name-on-select.patch
Patch90: %{name}-sial-ps-2.6.29.diff
BuildRequires: bison
BuildRequires: flex
@@ -271,13 +261,12 @@
%if %{have_snappy}
%patch15 -p1
%endif
-%patch16 -p1
## GDB patches
-for f in %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} \
- %{S:105} %{S:106} %{S:107} %{S:108} %{S:109} ; do
- base=`basename "$f"`
- cp "$f" "${base#%{name}-}"
-done
+#for f in %{S:XXX} ; do
+# base=`basename "$f"`
+# cp "$f" "${base#%{name}-}"
+#done
+
## SIAL patches
cd sial-scripts-%{scripts_version}
%patch90 -p1
++++++ crash-7.0.7.tar.gz -> crash-7.0.8.tar.gz ++++++
/work/SRC/openSUSE:Factory/crash/crash-7.0.7.tar.gz /work/SRC/openSUSE:Factory/.crash.new/crash-7.0.8.tar.gz differ: char 5, line 1
++++++ crash-gdb-7.6.series ++++++
--- /var/tmp/diff_new_pack.WVWXhl/_old 2014-09-22 09:23:15.000000000 +0200
+++ /var/tmp/diff_new_pack.WVWXhl/_new 2014-09-22 09:23:15.000000000 +0200
@@ -1,9 +0,0 @@
-gdb-7.6-ppc64_sysv_abi_push_float.patch
-gdb-7.6-bound_minimal_symbol.patch
-gdb-7.6-add-powerpc64le-linux.patch
-gdb-7.6-update-autoconf-2013-04-24.patch
-gdb-7.6-ppc_insns_match_pattern.patch
-gdb-7.6-floatformat.patch
-gdb-7.6-ppc64-ELFv2-trampoline-match.patch
-gdb-7.6-update-autoconf-2013-06-10.patch
-gdb-7.6-ppc64le.patch
++++++ crash-patch-gdb.patch ++++++
--- /var/tmp/diff_new_pack.WVWXhl/_old 2014-09-22 09:23:15.000000000 +0200
+++ /var/tmp/diff_new_pack.WVWXhl/_new 2014-09-22 09:23:15.000000000 +0200
@@ -4,23 +4,29 @@
Enhance the crash specfile to allow applying custom patches.
+Update jeffm 17 Sep 2014: What used to be in the series file is now in
+gdb-7.6-ppc64le-support.patch. We used to apply it unconditionally so
+we'll continue to do so.
+
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>
---
- Makefile | 5 +++++
- 1 file changed, 5 insertions(+)
+ Makefile | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
---- a/Makefile
-+++ b/Makefile
-@@ -247,6 +247,11 @@ gdb_unzip:
+--- a/Makefile 2014-09-17 10:54:23.070488397 -0400
++++ b/Makefile 2014-09-17 10:54:59.557726952 -0400
+@@ -260,8 +260,11 @@ gdb_unzip:
gdb_patch:
if [ -f ${GDB}.patch ] && [ -s ${GDB}.patch ]; then \
patch -p0 < ${GDB}.patch; cp ${GDB}.patch ${GDB}; fi
+- if [ "${ARCH}" = "ppc64le" ] && [ -f ${GDB}-ppc64le-support.patch ]; then \
+- patch -d ${GDB} -p1 -F0 < ${GDB}-ppc64le-support.patch ; \
++ patch -d ${GDB} -p1 -F0 < ${GDB}-ppc64le-support.patch ; \
+ if [ -f ${GDB}.series ]; then \
+ while read p; do \
+ patch -d ${GDB} -p1 -F0 < "$$p" ; \
+ done < ${GDB}.series ; \
-+ fi
+ fi
library: make_build_data ${OBJECT_FILES}
- ar -rs ${PROGRAM}lib.a ${OBJECT_FILES}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package go-go-fuse for openSUSE:Factory checked in at 2014-09-22 09:23:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go-go-fuse (Old)
and /work/SRC/openSUSE:Factory/.go-go-fuse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go-go-fuse"
Changes:
--------
--- /work/SRC/openSUSE:Factory/go-go-fuse/go-go-fuse.changes 2013-10-14 13:03:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.go-go-fuse.new/go-go-fuse.changes 2014-09-22 09:23:06.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Sep 18 09:56:26 UTC 2014 - i(a)marguerite.su
+
+- update version 0.0.0+git20140812.8c85ded
+- remove examples, they install to /usr/bin and not real stuff.
+ so go-go-fuse-tools is unneeded.
+- don't run tests. it need fuse kernel module.
+
+-------------------------------------------------------------------
Old:
----
go-fuse-0.0.0+git20130725.5edbae8.tar.bz2
New:
----
go-fuse-0.0.0+git20140812.8c85ded.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ go-go-fuse.spec ++++++
--- /var/tmp/diff_new_pack.yaBvZQ/_old 2014-09-22 09:23:07.000000000 +0200
+++ /var/tmp/diff_new_pack.yaBvZQ/_new 2014-09-22 09:23:07.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package go-go-fuse
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,50 +17,34 @@
Name: go-go-fuse
-Version: 0.0.0+git20130725.5edbae8
+Version: 0.0.0+git20140812.8c85ded
Release: 0
Summary: GO bindings for FUSE
-Group: Development/Languages/Other
License: BSD-3-Clause
+Group: Development/Languages/Other
Url: https://github.com/hanwen/go-fuse
-Source0: go-fuse-%{version}.tar.bz2
+Source: go-fuse-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: go-devel
BuildRequires: fuse-devel
-%if 0%{?suse_version} >= 1100
-Recommends: %{name}-doc
-Recommends: %{name}-tools
-%endif
+BuildRequires: go-devel
%{go_requires}
%{go_provides}
+%{go_recommends}
%description
GO-FUSE: native bindings for the FUSE kernel module.
-%package doc
-Summary: API documenation
-Group: Documentation/Other
-Requires: %{name} = %{version}
-
-%description doc
-API, examples and documentation.
-
-%package tools
-Summary: API documenation
-Group: Documentation/Other
-Requires: %{name} = %{version}
-Conflicts: unionfs-fuse
-
-%description tools
-Binaries using the Go FUSE bindings.
+%godoc_package
%prep
%setup -q -n go-fuse-%{version}
-sh genversion.sh fuse/version.gen.go
+rm -rf example
+# no buildable Go source files
+rm -rf fuse/test
%build
%goprep github.com/hanwen/go-fuse
-%gobuild fuse splice zipfs unionfs example/loopback example/unionfs example/zipfs
+%gobuild ...
%install
%goinstall
@@ -71,12 +55,6 @@
%doc README LICENSE
%{go_contribdir}/*
-%files tools
-%defattr(-,root,root,-)
-%{_bindir}/loopback
-%{_bindir}/unionfs
-%{_bindir}/zipfs
-
%files doc
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
++++++ go-fuse-0.0.0+git20130725.5edbae8.tar.bz2 -> go-fuse-0.0.0+git20140812.8c85ded.tar.bz2 ++++++
++++ 4974 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-moin for openSUSE:Factory checked in at 2014-09-22 09:23:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-moin (Old)
and /work/SRC/openSUSE:Factory/.python-moin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moin"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-moin/python-moin.changes 2014-09-17 17:24:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-moin.new/python-moin.changes 2014-09-22 09:23:02.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 17 21:06:20 UTC 2014 - seroton10(a)gmail.com
+
+- Reinstate AnyWikiDraw applet in the package (bnc#895361)
+ + anywikidraw.patch allows it to run as an unsigned applet
+
+-------------------------------------------------------------------
New:
----
anywikidraw.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-moin.spec ++++++
--- /var/tmp/diff_new_pack.pk0lj8/_old 2014-09-22 09:23:03.000000000 +0200
+++ /var/tmp/diff_new_pack.pk0lj8/_new 2014-09-22 09:23:03.000000000 +0200
@@ -32,6 +32,7 @@
Source91: moin.1
Source92: mkwiki.moin.8
Source99: python-moin.rpmlintrc
+Patch0: anywikidraw.patch
BuildRequires: ant >= 1.5.4
BuildRequires: apache2
BuildRequires: dos2unix
@@ -60,6 +61,10 @@
# remove pre-built JARs
find . -type f -name "*.jar" -print -delete
+# prepare rebuild of AnyWikiDraw applet JAR
+cd contrib/AnyWikiDraw
+tar -xjf src.tar.bz
+%patch0
%build
@@ -75,6 +80,9 @@
(cd contrib/TWikiDrawPlugin; ant)
ln contrib/TWikiDrawPlugin/build/twikidraw.jar MoinMoin/web/static/htdocs/applets/TWikiDrawPlugin/twikidraw.jar
+(cd contrib/AnyWikiDraw/AnyWikiDraw; ant -f build-for-moinmoin.xml applet.jar)
+ln contrib/AnyWikiDraw/AnyWikiDraw/dist/AnyWikiDraw\ 0.14/anywikidraw/moinmoin/AnyWikiDrawForMoinMoin.jar MoinMoin/web/static/htdocs/applets/anywikidraw/lib/AnyWikiDrawForMoinMoin.jar
+
%install
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
++++++ README-openSUSE.txt ++++++
--- /var/tmp/diff_new_pack.pk0lj8/_old 2014-09-22 09:23:04.000000000 +0200
+++ /var/tmp/diff_new_pack.pk0lj8/_new 2014-09-22 09:23:04.000000000 +0200
@@ -88,11 +88,27 @@
-------------------
MoinMoin ships with two different editors for drawings, both of which are
-implemented as Java applets (see http://moinmo.in/HelpOnDrawings) The
-TWikiDraw applet (for .tdraw drawings) is provided by this package. The
-AnyWikiDraw applet (for .adraw drawings) can not be packaged, unfortunately,
-because the implementation contains proprietary code.
+implemented as pre-built Java applets (see http://moinmo.in/HelpOnDrawings)
+TWikiDraw and AnyWikiDraw. Due to the requirement that openSUSE packages cannot
+ship pre-built binaries, both applets contained in this package have been
+rebuilt from source.
-Wiki pages containing drawings, regardless what kind, will display correctly in
-the browser, but only .tdraw drawings can be edited.
+The TWikiDraw applet is not affected by this, it preserves all functionality of
+the pre-built applet.
+
+The AnyWikiDraw applet, however, is not signed, unlike the pre-built one. This
+causes a loss of the ability to embed images within drawings because the
+browser sandbox in which the applet runs does not allow AnyWikiDraw to read
+images from the filesystem. Other than that, all functionality is preserved.
+
+If you use JRE 8 or later to run the applets, you need a ~/.java.policy file
+with an entry like this to make AnyWikiDraw work:
+
+grant {
+ permission java.net.URLPermission "http://SERVER/moin_static197/applets/anywikidraw/lib/AnyWikiDrawForMoinMoin…", "*:*";
+};
+
+where SERVER should be replaced with a specification of the name of the server
+hosting the wiki; for more details, see
+<http://docs.oracle.com/javase/8/docs/api/java/net/URLPermission.html>.
++++++ anywikidraw.patch ++++++
diff -ur AnyWikiDraw-orig/build-for-moinmoin.xml AnyWikiDraw/build-for-moinmoin.xml
--- AnyWikiDraw-orig/build-for-moinmoin.xml 2009-10-18 21:40:22.000000000 +0200
+++ AnyWikiDraw/build-for-moinmoin.xml 2014-08-31 19:50:52.720961122 +0200
@@ -32,6 +32,7 @@
srcdir="${src.main}:${src.jhotdraw}"
debug="${debug}"
source="1.5"
+ target="1.5"
optimize="true"
encoding="UTF-8"
diff -ur AnyWikiDraw-orig/src/jhotdraw7/java/org/jhotdraw/geom/BezierPath.java AnyWikiDraw/src/jhotdraw7/java/org/jhotdraw/geom/BezierPath.java
--- AnyWikiDraw-orig/src/jhotdraw7/java/org/jhotdraw/geom/BezierPath.java 2009-10-18 20:50:38.000000000 +0200
+++ AnyWikiDraw/src/jhotdraw7/java/org/jhotdraw/geom/BezierPath.java 2014-08-31 14:42:12.148555716 +0200
@@ -264,7 +264,7 @@
* Convenience method for adding multiple control points with a single
* coordinate C0.
*/
- public void addAll(Collection<Point2D.Double> points) {
+ public void addPolyline(Collection<Point2D.Double> points) {
for (Point2D.Double c0 : points) {
add(new Node(0, c0, c0, c0));
}
@@ -1282,4 +1282,4 @@
public int getWindingRule() {
return windingRule;
}
-}
\ No newline at end of file
+}
diff -ur AnyWikiDraw-orig/src/jhotdraw7/java/org/jhotdraw/io/ExtensionFileFilter.java AnyWikiDraw/src/jhotdraw7/java/org/jhotdraw/io/ExtensionFileFilter.java
--- AnyWikiDraw-orig/src/jhotdraw7/java/org/jhotdraw/io/ExtensionFileFilter.java 2009-10-18 20:50:48.000000000 +0200
+++ AnyWikiDraw/src/jhotdraw7/java/org/jhotdraw/io/ExtensionFileFilter.java 2014-08-31 18:39:25.469542318 +0200
@@ -68,16 +68,17 @@
}
public boolean accept(File pathname) {
- if (pathname.isDirectory()) {
- return true;
+ try {
+ if (pathname.isDirectory()) return true;
+ } catch (java.security.AccessControlException e) {
+ // ignore
+ }
+ String name = pathname.getName();
+ int p = name.lastIndexOf('.');
+ if (p == -1 || p == name.length() - 1) {
+ return extensions.contains("");
} else {
- String name = pathname.getName();
- int p = name.lastIndexOf('.');
- if (p == -1 || p == name.length() - 1) {
- return extensions.contains("");
- } else {
- return extensions.contains(name.substring(p + 1).toLowerCase());
- }
+ return extensions.contains(name.substring(p + 1).toLowerCase());
}
}
diff -ur AnyWikiDraw-orig/src/main/java/org/anywikidraw/any/AbstractDrawingApplet.java AnyWikiDraw/src/main/java/org/anywikidraw/any/AbstractDrawingApplet.java
--- AnyWikiDraw-orig/src/main/java/org/anywikidraw/any/AbstractDrawingApplet.java 2009-10-11 20:32:29.000000000 +0200
+++ AnyWikiDraw/src/main/java/org/anywikidraw/any/AbstractDrawingApplet.java 2014-08-31 17:56:56.686428594 +0200
@@ -116,7 +116,12 @@
public final void init() {
// set the language of the applet
if (getParameter("Locale") != null) {
- Locale.setDefault(new Locale(getParameter("Locale")));
+ try {
+ Locale.setDefault(new Locale(getParameter("Locale")));
+ } catch (Throwable e) {
+ // Do nothing
+ // If we can't set the desired language, just use the default
+ }
}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0