Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBD-SQLite for openSUSE:Factory checked in at 2022-03-11 21:40:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-DBD-SQLite (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-SQLite" Fri Mar 11 21:40:56 2022 rev:48 rq:960440 version:1.70 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-DBD-SQLite/perl-DBD-SQLite.changes 2021-08-05 20:48:05.839932423 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new.25692/perl-DBD-SQLite.changes 2022-03-11 21:40:59.610058047 +0100 @@ -1,0 +2,6 @@ +Wed Feb 23 15:34:16 UTC 2022 - Josef M??llers <josef.moell...@suse.com> + +- Use the system sqlite rather than the built-in one. + [bsc#1195771, perl-DBD-SQLite-use-external-sqlite3.patch] + +------------------------------------------------------------------- New: ---- perl-DBD-SQLite-use-external-sqlite3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DBD-SQLite.spec ++++++ --- /var/tmp/diff_new_pack.D9lVmk/_old 2022-03-11 21:41:00.486058719 +0100 +++ /var/tmp/diff_new_pack.D9lVmk/_new 2022-03-11 21:41:00.490058723 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-SQLite # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,11 +20,13 @@ Name: perl-DBD-SQLite Version: 1.70 Release: 0 -Summary: Self-contained RDBMS in a DBI Driver License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Self-contained RDBMS in a DBI Driver URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +# PATCH-FIX-OPENSUSE use system sqlite +Patch0: perl-DBD-SQLite-use-external-sqlite3.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.57 @@ -33,6 +35,9 @@ Requires: perl(DBI) >= 1.57 Requires: perl(Test::More) >= 0.88 %{perl_requires} +# MANUAL BEGIN +BuildRequires: sqlite3-devel +# MANUAL END %description SQLite is a public domain file-based relational database engine that you @@ -70,7 +75,7 @@ the typeless nature of the SQLite database. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.D9lVmk/_old 2022-03-11 21:41:00.538058759 +0100 +++ /var/tmp/diff_new_pack.D9lVmk/_new 2022-03-11 21:41:00.546058766 +0100 @@ -1,21 +1,34 @@ --- #description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 -#patches: -# silence_sqlite_unicode_deprecation_warning.patch: -p1 -# bar.patch: -#preamble: |- -# BuildRequires: gcc-c++ +patches: + perl-DBD-SQLite-use-external-sqlite3.patch: -p1 PATCH-FIX-OPENSUSE use system sqlite +preamble: |- + BuildRequires: sqlite3-devel #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 -#custom_build: - +#custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section ++++++ perl-DBD-SQLite-use-external-sqlite3.patch ++++++ Index: DBD-SQLite-1.70/Makefile.PL =================================================================== --- DBD-SQLite-1.70.orig/Makefile.PL +++ DBD-SQLite-1.70/Makefile.PL @@ -129,7 +129,7 @@ SCOPE: { # a system sqlite is also sophisticated enough to have a patching system # that can change the if ( 0 ) to if ( 1 ) my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc); -if ( 0 ) { +if ( 1 ) { require File::Spec; if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) { $sqlite_base =~ /=(.*)/; Index: DBD-SQLite-1.70/t/51_table_column_metadata.t =================================================================== --- DBD-SQLite-1.70.orig/t/51_table_column_metadata.t +++ DBD-SQLite-1.70/t/51_table_column_metadata.t @@ -19,7 +19,7 @@ for my $call_func (@CALL_FUNCS) { my $data = $dbh->$call_func(undef, 'foo', 'id', 'table_column_metadata'); ok $data && ref $data eq ref {}, "got a metadata"; ok $data->{auto_increment}, "id is auto incremental"; - is $data->{data_type} => 'integer', "data type is correct"; + is $data->{data_type} => 'INTEGER', "data type is correct"; ok $data->{primary}, "id is a primary key"; ok !$data->{not_null}, "id is not null"; }