--- /dev/null
+--- 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";
+ }
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
%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