From: Jakub Bogusz Date: Sun, 6 Nov 2022 16:26:21 +0000 (+0100) Subject: - updated to 1.72 X-Git-Tag: auto/th/perl-DBD-SQLite-1.72-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=57b86da372613e712b472f04ae6079aa3c9cba2d;p=packages%2Fperl-DBD-SQLite.git - updated to 1.72 - adjusted data_type patch to supoort both lower and upper case --- diff --git a/data_type.patch b/data_type.patch index 66807a0..73f2c16 100644 --- a/data_type.patch +++ b/data_type.patch @@ -5,7 +5,7 @@ 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"; ++ is lc($data->{data_type}) => 'integer', "data type is correct"; ok $data->{primary}, "id is a primary key"; ok !$data->{not_null}, "id is not null"; } diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index 18da4a6..9de1ab3 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -1,20 +1,20 @@ # # Conditional build: -%bcond_without tests # do not perform "make test" -%bcond_without system_sqlite3 # don't use system sqlite3 +%bcond_without tests # unit tests +%bcond_without system_sqlite3 # system sqlite3 # %define pdir DBD %define pnam SQLite Summary: DBD::SQLite - Self Contained RDBMS in a DBI Driver (sqlite 3.x) Summary(pl.UTF-8): DBD::SQLite - Kompletny RDBMS zawarty w sterowniku DBI (sqlite 3.x) Name: perl-DBD-SQLite -Version: 1.70 -Release: 2 +Version: 1.72 +Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: https://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: cc20dad09474da382488686ea07e8288 +# Source0-md5: 976df252ae0aceb7fb81587af425580b Patch0: data_type.patch URL: https://metacpan.org/release/DBD-SQLite BuildRequires: perl-DBI >= 1.57