Accepting request 655845 from devel:languages:perl
- 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 - Drop perl-DBD-mysql-MARIADB_BASE_VERSION.patch - code changes obsolete patch OBS-URL: https://build.opensuse.org/request/show/655845 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-mysql?expand=0&rev=54
This commit is contained in:
commit
99bcc17fd2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1737ffcae68712c04bf529f098df53534ca9a60eb3ce0ad23700bfc40c6415ff
|
|
||||||
size 159541
|
|
3
DBD-mysql-4.049.tar.gz
Normal file
3
DBD-mysql-4.049.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cfbf020f1e53a1d9d48ab964af1e3fa0228dc4f5df6da66e691c5c01cae0413b
|
||||||
|
size 160889
|
@ -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);
|
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 6 15:30:46 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
- Drop perl-DBD-mysql-MARIADB_BASE_VERSION.patch - code changes obsolete patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 24 16:46:51 UTC 2018 - pmonrealgonzalez@suse.com
|
Mon Sep 24 16:46:51 UTC 2018 - pmonrealgonzalez@suse.com
|
||||||
|
|
||||||
|
@ -12,21 +12,21 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-DBD-mysql
|
||||||
Version: 4.048
|
Version: 4.049
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name DBD-mysql
|
||||||
Summary: MySQL driver for the Perl5 Database Interface (DBI)
|
Summary: MySQL driver for the Perl5 Database Interface (DBI)
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: https://metacpan.org/release/DBD-mysql
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Patch0: perl-DBD-mysql-MARIADB_BASE_VERSION.patch
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(DBI) >= 1.609
|
BuildRequires: perl(DBI) >= 1.609
|
||||||
@ -37,7 +37,6 @@ Requires: perl(DBI) >= 1.609
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
BuildRequires: libmariadb-devel
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: zlib-devel
|
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -51,14 +50,13 @@ no-one ever requested them. :-)
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
Loading…
Reference in New Issue
Block a user