From 883f3bdbafa19e8f55a5ae1f1c5ea1b92f8a69459ae2ddd730d6b7b45818e13d Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 6 Dec 2018 16:35:51 +0000 Subject: [PATCH 1/3] Accepting request 655736 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/655736 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=68 --- DBD-mysql-4.048.tar.gz | 3 --- DBD-mysql-4.049.tar.gz | 3 +++ perl-DBD-mysql.changes | 14 ++++++++++++++ perl-DBD-mysql.spec | 16 +++++++--------- 4 files changed, 24 insertions(+), 12 deletions(-) delete mode 100644 DBD-mysql-4.048.tar.gz create mode 100644 DBD-mysql-4.049.tar.gz diff --git a/DBD-mysql-4.048.tar.gz b/DBD-mysql-4.048.tar.gz deleted file mode 100644 index c8e73e2..0000000 --- a/DBD-mysql-4.048.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1737ffcae68712c04bf529f098df53534ca9a60eb3ce0ad23700bfc40c6415ff -size 159541 diff --git a/DBD-mysql-4.049.tar.gz b/DBD-mysql-4.049.tar.gz new file mode 100644 index 0000000..59f0fdf --- /dev/null +++ b/DBD-mysql-4.049.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfbf020f1e53a1d9d48ab964af1e3fa0228dc4f5df6da66e691c5c01cae0413b +size 160889 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 3438825..3934db6 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Dec 6 15:30:46 UTC 2018 - Stephan Kulow + +- updated to 4.049 + see /usr/share/doc/packages/perl-DBD-mysql/Changes + + 2018-10-25 Daniƫl van Eeden, Patrick Galbraith, + DBI/DBD community (4.049) + * Fix MariaDB issue #262 + * Various fixes for travis builds + * Fix to issue 187: Don't declare enum_type as static + * Fix regex for removing database from DSN again + * Allow to call $sth->mysql_async_ready and $sth->mysql_async_result more times without discarding result state 201 + ------------------------------------------------------------------- Mon Sep 24 16:46:51 UTC 2018 - pmonrealgonzalez@suse.com diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index c0fcba5..afb47e7 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -12,21 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define cpan_name DBD-mysql Name: perl-DBD-mysql -Version: 4.048 +Version: 4.049 Release: 0 +%define cpan_name DBD-mysql Summary: MySQL driver for the Perl5 Database Interface (DBI) License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/DBD-mysql -Source0: https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -Patch0: perl-DBD-mysql-MARIADB_BASE_VERSION.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.609 @@ -37,7 +37,6 @@ Requires: perl(DBI) >= 1.609 %{perl_requires} # MANUAL BEGIN BuildRequires: libmariadb-devel -BuildRequires: zlib-devel # MANUAL END %description @@ -51,14 +50,13 @@ no-one ever requested them. :-) %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 -%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check -make %{?_smp_mflags} test +make test %install %perl_make_install From f39df1371a5086ef84c987fe216df1695f4a66d6a8d5363a04fec5bce4d419ec Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 6 Dec 2018 16:44:16 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=69 --- perl-DBD-mysql.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 3934db6..ea11c58 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -11,6 +11,7 @@ Thu Dec 6 15:30:46 UTC 2018 - Stephan Kulow * Fix to issue 187: Don't declare enum_type as static * Fix regex for removing database from DSN again * Allow to call $sth->mysql_async_ready and $sth->mysql_async_result more times without discarding result state 201 +- Drop perl-DBD-mysql-MARIADB_BASE_VERSION.patch - code changes obsolete patch ------------------------------------------------------------------- Mon Sep 24 16:46:51 UTC 2018 - pmonrealgonzalez@suse.com From 48f29543b5df7f9acd1f616de96b12924cb9095e2d3d64bf86844977f549e09d Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 6 Dec 2018 16:44:24 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=70 --- perl-DBD-mysql-MARIADB_BASE_VERSION.patch | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 perl-DBD-mysql-MARIADB_BASE_VERSION.patch diff --git a/perl-DBD-mysql-MARIADB_BASE_VERSION.patch b/perl-DBD-mysql-MARIADB_BASE_VERSION.patch deleted file mode 100644 index 8ed9f00..0000000 --- a/perl-DBD-mysql-MARIADB_BASE_VERSION.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: DBD-mysql-4.047/dbdimp.c -=================================================================== ---- DBD-mysql-4.047.orig/dbdimp.c -+++ DBD-mysql-4.047/dbdimp.c -@@ -1907,14 +1907,14 @@ MYSQL *mysql_dr_connect( - (SvTRUE(*svp) ? "utf8" : "latin1")); - } - --#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION) -+#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID) - if ((svp = hv_fetch(hv, "mysql_get_server_pubkey", 23, FALSE)) && *svp && SvTRUE(*svp)) { - my_bool server_get_pubkey = 1; - mysql_options(sock, MYSQL_OPT_GET_SERVER_PUBLIC_KEY, &server_get_pubkey); - } - #endif - --#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION) -+#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID) - if ((svp = hv_fetch(hv, "mysql_server_pubkey", 19, FALSE)) && *svp) { - STRLEN plen; - char *server_pubkey = SvPV(*svp, plen);