Hello community,
here is the log from the commit of package perl-DBD-MariaDB for
openSUSE:Factory checked in at 2020-11-10 13:45:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-MariaDB (Old)
and /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-MariaDB"
Tue Nov 10 13:45:58 2020 rev:3 rq:847306 version:1.21
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-MariaDB/perl-DBD-MariaDB.changes
2020-03-11 18:52:36.579601462 +0100
+++
/work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.11331/perl-DBD-MariaDB.changes
2020-11-10 13:53:09.566883325 +0100
@@ -1,0 +2,5 @@
+Mon Nov 9 15:25:54 UTC 2020 - Dirk Stoecker <[email protected]>
+
+- Fix build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-MariaDB.spec ++++++
--- /var/tmp/diff_new_pack.dHEuWN/_old 2020-11-10 13:53:10.222882085 +0100
+++ /var/tmp/diff_new_pack.dHEuWN/_new 2020-11-10 13:53:10.222882085 +0100
@@ -16,19 +16,29 @@
#
-%define cpan_name DBD-MariaDB
Name: perl-DBD-MariaDB
Version: 1.21
Release: 0
+%define cpan_name DBD-MariaDB
Summary: MariaDB and 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}
Source0:
https://cpan.metacpan.org/authors/id/P/PA/PALI/%{cpan_name}-%{version}.tar.gz
-Source1: cpanspec.yml
+Source1: test-setup.sh
+Source2: test-clean.sh
+Source3: cpanspec.yml
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(DBI) >= 1.608
+BuildRequires: perl(DBI::Const::GetInfoType)
+BuildRequires: perl(Devel::CheckLib) >= 1.12
+BuildRequires: perl(Test::Deep)
+BuildRequires: perl(Test::More) >= 0.90
+Requires: perl(DBI) >= 1.608
+%{perl_requires}
# MANUAL BEGIN
-Source2: test-setup.sh
-Source3: test-clean.sh
BuildRequires: libmariadb-devel
BuildRequires: mariadb
BuildRequires: zlib-devel
@@ -58,15 +68,6 @@
Requires: perl(strict)
Requires: perl(warnings)
# MANUAL END
-BuildRequires: perl
-BuildRequires: perl-macros
-BuildRequires: perl(DBI) >= 1.608
-BuildRequires: perl(DBI::Const::GetInfoType)
-BuildRequires: perl(Devel::CheckLib) >= 1.12
-BuildRequires: perl(Test::Deep)
-BuildRequires: perl(Test::More) >= 0.90
-Requires: perl(DBI) >= 1.608
-%{perl_requires}
%description
*DBD::MariaDB* is the Perl5 Database Interface driver for MariaDB and MySQL
@@ -80,17 +81,16 @@
%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+# 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}
%check
-# MANUAL BEGIN
# Setup environment and start database
-. %{SOURCE2}
+. %{SOURCE1}
HARNESS_OPTIONS=j4 make %{?_smp_mflags} test
# Stop database
-. %{SOURCE3}
-# MANUAL END
+. %{SOURCE2}
%install
%perl_make_install
@@ -98,7 +98,8 @@
%perl_gen_filelist
%files -f %{name}.files
-%license LICENSE
+%defattr(-,root,root,755)
%doc Changes Changes.historic
+%license LICENSE
%changelog
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.dHEuWN/_old 2020-11-10 13:53:10.282881971 +0100
+++ /var/tmp/diff_new_pack.dHEuWN/_new 2020-11-10 13:53:10.286881964 +0100
@@ -10,8 +10,8 @@
#summary: override summary from CPAN
#no_testing: broken upstream
sources:
- Source2: test-setup.sh
- Source3: test-clean.sh
+ - test-setup.sh
+ - test-clean.sh
preamble: |-
BuildRequires: libmariadb-devel
BuildRequires: mariadb
@@ -50,12 +50,14 @@
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
-#custom_build: |-
-#./Build build flags=%{?_smp_mflags} --myflag
+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
- . %{SOURCE2}
+ . %{SOURCE1}
HARNESS_OPTIONS=j4 make %{?_smp_mflags} test
# Stop database
- . %{SOURCE3}
+ . %{SOURCE2}
#ignore_requires: Bizarre::Module