[packages/perl-DBD-SQLite] - updated to 1.72 - adjusted data_type patch to supoort both lower and upper case

qboosh qboosh at pld-linux.org
Sun Nov 6 17:26:19 CET 2022


commit 57b86da372613e712b472f04ae6079aa3c9cba2d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 6 17:26:21 2022 +0100

    - updated to 1.72
    - adjusted data_type patch to supoort both lower and upper case

 data_type.patch      |  2 +-
 perl-DBD-SQLite.spec | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
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
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";
  	}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DBD-SQLite.git/commitdiff/57b86da372613e712b472f04ae6079aa3c9cba2d



More information about the pld-cvs-commit mailing list