diff --git a/DBD-SQLite-1.68.tar.gz b/DBD-SQLite-1.68.tar.gz deleted file mode 100644 index ebfed67..0000000 --- a/DBD-SQLite-1.68.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e84e831a50d547d2e634b66650455f1791f223495c9138db82d42360c691e61 -size 2537419 diff --git a/DBD-SQLite-1.70.tar.gz b/DBD-SQLite-1.70.tar.gz new file mode 100644 index 0000000..10be83e --- /dev/null +++ b/DBD-SQLite-1.70.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40fd8ddf539e0e773a7a4e6d376794c3301459f9ab0050978bdcf97113dafe3e +size 2537672 diff --git a/cpanspec.yml b/cpanspec.yml index 54d7205..dd71ab0 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -4,8 +4,8 @@ #sources: # - source1 # - source2 -patches: - silence_sqlite_unicode_deprecation_warning.patch: -p1 +#patches: +# silence_sqlite_unicode_deprecation_warning.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ diff --git a/perl-DBD-SQLite.changes b/perl-DBD-SQLite.changes index c7bda57..0d2daa2 100644 --- a/perl-DBD-SQLite.changes +++ b/perl-DBD-SQLite.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Aug 2 13:06:28 UTC 2021 - Tina Müller + +- Remove silence_sqlite_unicode_deprecation_warning.patch (upstream fix) + +------------------------------------------------------------------- +Mon Aug 2 03:07:06 UTC 2021 - Tina Müller + +- updated to 1.70 + see /usr/share/doc/packages/perl-DBD-SQLite/Changes + + 1.70 2021-08-01 + - Switched to a production version + + 1.69_02 2021-07-30 + - Fix doc to use the correct attribute with sqlite_ (GH#86, eekboek++) + - Modify the fix to silence the sqlite_unicode warning not to check + the attribute twice + - Fix an encoding issue of naive (GH#83, HaraldJoerg++) + + 1.69_01 2021-07-30 + - Typo (GH#85, grr++) + - Silenced deprecation warning of sqlite_unicode not to break + tests of existing applications + ------------------------------------------------------------------- Fri Jul 30 07:51:14 UTC 2021 - Tina Müller diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index 005170d..6045658 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -18,14 +18,13 @@ %define cpan_name DBD-SQLite Name: perl-DBD-SQLite -Version: 1.68 +Version: 1.70 Release: 0 Summary: Self-contained RDBMS in a DBI Driver License: Artistic-1.0 OR GPL-1.0-or-later 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 -Patch0: silence_sqlite_unicode_deprecation_warning.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.57 @@ -71,7 +70,7 @@ currently many statement attributes are not implemented or are limited by the typeless nature of the SQLite database. %prep -%autosetup -n %{cpan_name}-%{version} -p1 +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" diff --git a/silence_sqlite_unicode_deprecation_warning.patch b/silence_sqlite_unicode_deprecation_warning.patch deleted file mode 100644 index 3f596f8..0000000 --- a/silence_sqlite_unicode_deprecation_warning.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/dbdimp.c b/dbdimp.c -index a8361ac..6dbff60 100644 ---- a/dbdimp.c -+++ b/dbdimp.c -@@ -857,7 +857,10 @@ sqlite_db_STORE_attrib(SV *dbh, imp_dbh_t *imp_dbh, SV *keysv, SV *valuesv) - } - - if (strEQ(key, "sqlite_unicode") || strEQ(key, "unicode")) { -- _warn_deprecated_if_possible(key, "sqlite_string_mode"); -+ if (strEQ(key, "unicode")) { -+ /* it's too early to warn the deprecation of sqlite_unicode as it's widely used */ -+ _warn_deprecated_if_possible(key, "sqlite_string_mode"); -+ } - #if PERL_UNICODE_DOES_NOT_WORK_WELL - sqlite_trace(dbh, imp_dbh, 3, form("Unicode support is disabled for this version of perl.")); - imp_dbh->string_mode = DBD_SQLITE_STRING_MODE_PV;