From 74645a561de154ab233aea87ffd9309310d449a0 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 31 Aug 2020 10:38:59 +0200 Subject: [PATCH] 1.66 bump --- .gitignore | 1 + ...ename-variable-in-sqlite_db_filename.patch | 30 ------------------- perl-DBD-SQLite.spec | 11 +++---- sources | 2 +- 4 files changed, 8 insertions(+), 36 deletions(-) delete mode 100644 DBD-SQLite-1.64-Initialize-filename-variable-in-sqlite_db_filename.patch diff --git a/.gitignore b/.gitignore index 87dea94..4c00ae6 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ DBD-SQLite-1.29.tar.gz /DBD-SQLite-1.60.tar.gz /DBD-SQLite-1.62.tar.gz /DBD-SQLite-1.64.tar.gz +/DBD-SQLite-1.66.tar.gz diff --git a/DBD-SQLite-1.64-Initialize-filename-variable-in-sqlite_db_filename.patch b/DBD-SQLite-1.64-Initialize-filename-variable-in-sqlite_db_filename.patch deleted file mode 100644 index 5559dad..0000000 --- a/DBD-SQLite-1.64-Initialize-filename-variable-in-sqlite_db_filename.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 0c92dbae924a230f720891cc04a436fa6ee63490 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Mon, 29 Jul 2019 16:59:44 +0200 -Subject: [PATCH] Initialize filename variable in sqlite_db_filename() - -If sqlite library is too old, filename variable in -sqlite_db_filename() function was never defined. In spite of that the -variable was used in later condition. - -This patch fixes it. ---- - dbdimp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/dbdimp.c b/dbdimp.c -index 02f77a1..f5978cd 100644 ---- a/dbdimp.c -+++ b/dbdimp.c -@@ -1623,7 +1623,7 @@ SV * - sqlite_db_filename(pTHX_ SV *dbh) - { - D_imp_dbh(dbh); -- const char *filename; -+ const char *filename = NULL; - - if (!imp_dbh->db) { - return &PL_sv_undef; --- -2.21.0 - diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index bf90f18..4ba873d 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -2,8 +2,8 @@ %bcond_without perl_DBD_SQLite_enables_optional_test Name: perl-DBD-SQLite -Version: 1.64 -Release: 6%{?dist} +Version: 1.66 +Release: 1%{?dist} Summary: SQLite DBI Driver # lib/DBD/SQLite.pm: GPL+ or Artistic # LICENSE: GPL+ or Artistic @@ -20,8 +20,6 @@ Patch0: perl-DBD-SQLite-bz543982.patch Patch1: DBD-SQLite-1.62-Remove-bundled-source-extentions.patch # Adapt tests to unbundled Test::NoWarnings Patch2: DBD-SQLite-1.60-Unbundle-Test-NoWarnings.patch -# Initialize filename variable in sqlite_db_filename() -Patch3: DBD-SQLite-1.64-Initialize-filename-variable-in-sqlite_db_filename.patch # if sqlite >= 3.6.0 then # perl-DBD-SQLite uses the external library # else @@ -57,6 +55,7 @@ BuildRequires: sed BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Digest::MD5) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec::Functions) @@ -88,7 +87,6 @@ libraries. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 # Remove bundled sqlite libraries (BZ#1059154) # System libraries will be used rm sqlite* @@ -117,6 +115,9 @@ make test %{_mandir}/man3/*.3pm* %changelog +* Mon Aug 31 2020 Jitka Plesnikova - 1.66-1 +- 1.66 bump + * Tue Jul 28 2020 Fedora Release Engineering - 1.64-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index d3bdc30..3b25df8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (DBD-SQLite-1.64.tar.gz) = 36a227193b4544c7cec24eec50ee51f46c00a2dad99ab7b8899b0417ea928a1e223f4052fb75f2d641cbfa4408192492ba8943fdb92520dc9888014467f503a4 +SHA512 (DBD-SQLite-1.66.tar.gz) = 4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9