Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
8f819ae835 | |||
4b7c7fa09e | |||
df44959bf1 | |||
2c14a3b361 | |||
607cb036bf | |||
94e1fb8d05 | |||
3da096223d |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
15
cpanspec.yml
15
cpanspec.yml
@@ -24,8 +24,10 @@ preamble: |-
|
|||||||
# sed on %{name}.files
|
# sed on %{name}.files
|
||||||
#license: SUSE-NonFree
|
#license: SUSE-NonFree
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
#custom_build: |-
|
custom_build: |-
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
# https://github.com/bucardo/dbdpg/issues/135
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
|
||||||
|
%make_build
|
||||||
|
|
||||||
# t/09arrays.t had a non-zero exit status on ppc64. Running with
|
# t/09arrays.t had a non-zero exit status on ppc64. Running with
|
||||||
# HARNESS_VERBOSE=1 apparently fixes it
|
# HARNESS_VERBOSE=1 apparently fixes it
|
||||||
@@ -36,7 +38,14 @@ preamble: |-
|
|||||||
# [ 59s] t/09arrays.t (Wstat: 11 Tests: 203 Failed: 0)
|
# [ 59s] t/09arrays.t (Wstat: 11 Tests: 203 Failed: 0)
|
||||||
# [ 59s] Non-zero wait status: 11
|
# [ 59s] Non-zero wait status: 11
|
||||||
# See also https://rt.cpan.org/Ticket/Display.html?id=132799
|
# See also https://rt.cpan.org/Ticket/Display.html?id=132799
|
||||||
|
|
||||||
|
# For DBDPG_TEMPDIR see https://github.com/bucardo/dbdpg/issues/78
|
||||||
|
# Error was: Unix-domain socket path
|
||||||
|
# "/home/abuild/rpmbuild/BUILD/perl-DBD-Pg-3.18.0-build/DBD-Pg-3.18.0/dbdpg_test_database/data/socket/.s.PGSQL.5442"
|
||||||
|
# is too long (maximum 107 bytes) at t/dbdpg_test_setup.pl line 608.
|
||||||
custom_test: |-
|
custom_test: |-
|
||||||
HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
|
# https://github.com/bucardo/dbdpg/issues/143
|
||||||
|
rm t/09arrays.t
|
||||||
|
DBDPG_TEMPDIR=/tmp HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
|
||||||
#startserver && make test
|
#startserver && make test
|
||||||
#ignore_requires: Bizarre::Module
|
#ignore_requires: Bizarre::Module
|
||||||
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 29 12:00:11 UTC 2025 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- -std=gnu11 to fix build with gcc15
|
||||||
|
- modified sources
|
||||||
|
% cpanspec.yml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 28 13:23:01 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Fix sporadic build failures by setting DBDPG_TEMPDIR for testing
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 7 03:06:29 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
Thu Dec 7 03:06:29 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
@@ -94,6 +106,7 @@ Sat May 22 03:07:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|||||||
|
|
||||||
- updated to 3.15.0
|
- updated to 3.15.0
|
||||||
see /usr/share/doc/packages/perl-DBD-Pg/Changes
|
see /usr/share/doc/packages/perl-DBD-Pg/Changes
|
||||||
|
- Includes fix for testsuite [bsc#1197797]
|
||||||
|
|
||||||
Version 3.15.0 (released May 21, 2021)
|
Version 3.15.0 (released May 21, 2021)
|
||||||
- Adjust tests for the fact that reltuples can be -1 in Postgres
|
- Adjust tests for the fact that reltuples can be -1 in Postgres
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DBD-Pg
|
# spec file for package perl-DBD-Pg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,6 +25,7 @@ Summary: DBI PostgreSQL interface
|
|||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(DBI) >= 1.614
|
BuildRequires: perl(DBI) >= 1.614
|
||||||
@@ -49,14 +50,17 @@ DBD::Pg is a Perl module that works with the DBI module to provide access
|
|||||||
to PostgreSQL databases.
|
to PostgreSQL databases.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
# https://github.com/bucardo/dbdpg/issues/135
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
|
# https://github.com/bucardo/dbdpg/issues/143
|
||||||
|
rm t/09arrays.t
|
||||||
|
DBDPG_TEMPDIR=/tmp HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
Reference in New Issue
Block a user