]> git.pld-linux.org Git - packages/perl-DBD-SQLite.git/commitdiff
- up to 1.70, fix broken test auto/th/perl-DBD-SQLite-1.70-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 2 Mar 2022 06:23:43 +0000 (07:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 2 Mar 2022 06:23:43 +0000 (07:23 +0100)
data_type.patch [new file with mode: 0644]
perl-DBD-SQLite.spec

diff --git a/data_type.patch b/data_type.patch
new file mode 100644 (file)
index 0000000..66807a0
--- /dev/null
@@ -0,0 +1,11 @@
+--- DBD-SQLite-1.70/t/51_table_column_metadata.t~      2021-01-17 19:28:36.000000000 +0100
++++ DBD-SQLite-1.70/t/51_table_column_metadata.t       2022-03-02 07:16:54.014601031 +0100
+@@ -19,7 +19,7 @@
+               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";
+       }
index 0e6f96d38f314094475a49c96da6a324d597c50b..736f8388f2444e76172f790bdaccbe31f46733f7 100644 (file)
@@ -8,13 +8,14 @@
 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.66
+Version:       1.70
 Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 38581209de5c981f0e79840c8937fa16
+Source0:       https://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: cc20dad09474da382488686ea07e8288
+Patch0:                data_type.patch
 URL:           https://metacpan.org/release/DBD-SQLite
 BuildRequires: perl-DBI >= 1.57
 BuildRequires: perl-devel >= 1:5.8.0
@@ -60,6 +61,7 @@ Aby używać baz danych stworzonych przy pomocy starszej wersji SQLite
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 # honour USE_LOCAL_SQLITE instead of using bundled sqlite3 (see comments inside)
 %{__perl} -pi -e 's/if \( 0 \)/if ( 1 )/' Makefile.PL
This page took 0.160861 seconds and 4 git commands to generate.