1
0

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

- Fix build with gcc14: [bsc#1221011]
  * Upstream PR: https://github.com/perl5-dbi/DBD-mysql/pull/295
  * Add perl-DBD-mysql-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1155577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=77
This commit is contained in:
2024-03-07 07:47:11 +00:00
committed by Git OBS Bridge
parent c46defa2d6
commit 89f4e22e9e
4 changed files with 53 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-mysql
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,10 @@ Release: 0
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/%{cpan_name}
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-gcc14.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -49,7 +50,7 @@ are supported. Some rarely used functions are missing, mainly because
no-one ever requested them. :-)
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -p1 -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build