8
0
Files
perl-DBD-MariaDB/cpanspec.yml
Oliver Kurz e5c2d69315 Accepting request 1278741 from devel:languages:perl:autoupdate
- Remove perl-DBD-MariaDB-fix_ssl_connection_test.patch: (fixed upstream)
- updated to 1.240.0 (1.24)
   see /usr/share/doc/packages/perl-DBD-MariaDB/Changes
  1.24 2025-05-04
   - Add a test for large BLOB with parameter
   - Fix Dave Labley's broken e-mail address
   - Stop parsing a column named "limits" as the LIMIT keyword
     (https://github.com/perl5-dbi/DBD-MariaDB/issues/208)
   - Various test fixes (e.g. no dead loop in t/87async.t, remembering the
     value of --testauthplugin for repeated Makefile.PL runs, support for the
     Embedded server, explicit disconnect after testing the connection)
   - Better handling of the Embedded server (e.g. fix mariadb_hostinfo and
     SQL_SERVER_NAME, no support for async queries and
     mariadb_max_allowed_packets, extended documentation of
     mariadb_embedded_options)
   - Add new Makefile.PL option --requireembsup (and a corresponding env variable
     DBD_MARIADB_REQUIREEMBSUP) to ensure the client library's support for the
     Embedded server
   - More support and fixes for new MySQL 8 features (mariadb_auto_reconnect for
     8.0.24+, SSL options for MySQL 8.3.0+, bind params for 8.3.0+)
   - Documentation of empty versus undefined password
   - Stop calling mariadb_db_reconnect when changing $dbh attributes unless it's
     really needed
   - On MSWin32, non-socket connections do not use WINAPI HANDLE
   - Fix type (MEDIMUMBLOB -> MEDIUMBLOB)
   - Handle new SSL error messages in tests
     (https://github.com/perl5-dbi/DBD-MariaDB/issues/209)

OBS-URL: https://build.opensuse.org/request/show/1278741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-MariaDB?expand=0&rev=18
2025-05-23 18:13:26 +00:00

66 lines
2.2 KiB
YAML

---
#description_paragraphs: 1
description: |-
*DBD::MariaDB* is the Perl5 Database Interface driver for MariaDB and MySQL
databases. In other words: DBD::MariaDB is an interface between the Perl
programming language and the MariaDB/MySQL programming API that comes with
the MariaDB/MySQL relational database management system. Most functions
provided by this programming API are supported. Some rarely used functions
are missing, mainly because no-one ever requested them.
#summary: override summary from CPAN
#no_testing: broken upstream
sources:
- test-setup.sh
- test-clean.sh
patches:
perl-DBD-MariaDB-fix_c_32x_test.patch: -p1
preamble: |-
BuildRequires: libmariadb-devel
BuildRequires: mariadb
BuildRequires: zlib-devel
BuildRequires: perl(B)
BuildRequires: perl(CPAN::Meta::YAML)
BuildRequires: perl(Config)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Net::SSLeay)
BuildRequires: perl(Proc::ProcessTable)
BuildRequires: perl(Storable)
BuildRequires: perl(TAP::Harness)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(bigint)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
Requires: perl(DynaLoader)
Requires: perl(strict)
Requires: perl(warnings)
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
custom_build: |-
# fails to detect the paths since perl 5.32
perl Makefile.PL verbose INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --libs="-L%{_libdir} -lmariadb" --cflags="-I%{_includedir}/mysql"
make %{?_smp_mflags}
custom_test: |-
# Setup environment and start database
. %{SOURCE1}
HARNESS_OPTIONS=j4 make %{?_smp_mflags} test
# Stop database
. %{SOURCE2}
#ignore_requires: Bizarre::Module