8
0

Accepting request 542060 from home:pmonrealgonzalez:branches:devel:languages:perl

- Fixed build with libmariadb [bsc#1067882]
- Added patch:
  * perl-DBD-mysql-4.043-Fix-build-failures-for-MariaDB.patch

OBS-URL: https://build.opensuse.org/request/show/542060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=58
This commit is contained in:
2017-11-15 14:07:56 +00:00
committed by Git OBS Bridge
parent a945f9ec41
commit 4669e23263
3 changed files with 48 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ Source0: https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM CVE-2017-10788 bsc#1047095 pmonrealgonzalez@suse.com - DoS or possibly RCE through use-after-free
Patch1: perl-DBD-mysql-4.043-CVE-2017-10788.patch
# bsc#1067882 perl-DBD-mysql-4.043-Fix-build-failures-for-MariaDB.patch
Patch2: perl-DBD-mysql-4.043-Fix-build-failures-for-MariaDB.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -52,6 +54,7 @@ no-one ever requested them. :-)
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%patch1 -p1
%patch2 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"