forked from pool/perl-DBD-SQLite
Accepting request 909793 from devel:languages:perl:autoupdate
- Remove silence_sqlite_unicode_deprecation_warning.patch (upstream fix)
- 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
OBS-URL: https://build.opensuse.org/request/show/909793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-SQLite?expand=0&rev=67
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0e84e831a50d547d2e634b66650455f1791f223495c9138db82d42360c691e61
|
|
||||||
size 2537419
|
|
||||||
3
DBD-SQLite-1.70.tar.gz
Normal file
3
DBD-SQLite-1.70.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:40fd8ddf539e0e773a7a4e6d376794c3301459f9ab0050978bdcf97113dafe3e
|
||||||
|
size 2537672
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
#sources:
|
#sources:
|
||||||
# - source1
|
# - source1
|
||||||
# - source2
|
# - source2
|
||||||
patches:
|
#patches:
|
||||||
silence_sqlite_unicode_deprecation_warning.patch: -p1
|
# silence_sqlite_unicode_deprecation_warning.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
#preamble: |-
|
#preamble: |-
|
||||||
# BuildRequires: gcc-c++
|
# BuildRequires: gcc-c++
|
||||||
|
|||||||
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 2 13:06:28 UTC 2021 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Remove silence_sqlite_unicode_deprecation_warning.patch (upstream fix)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 2 03:07:06 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- 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 <tina.mueller@suse.com>
|
Fri Jul 30 07:51:14 UTC 2021 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
%define cpan_name DBD-SQLite
|
%define cpan_name DBD-SQLite
|
||||||
Name: perl-DBD-SQLite
|
Name: perl-DBD-SQLite
|
||||||
Version: 1.68
|
Version: 1.70
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Self-contained RDBMS in a DBI Driver
|
Summary: Self-contained RDBMS in a DBI Driver
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Patch0: silence_sqlite_unicode_deprecation_warning.patch
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(DBI) >= 1.57
|
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.
|
the typeless nature of the SQLite database.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{version} -p1
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
|||||||
@@ -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;
|
|
||||||
Reference in New Issue
Block a user