7 Commits

Author SHA256 Message Date
8f819ae835 Add Gitea build results 2025-08-12 18:13:19 +02:00
4b7c7fa09e Accepting request 1283020 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1283020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-Pg?expand=0&rev=63
2025-06-05 18:34:55 +00:00
df44959bf1 Accepting request 1281158 from home:pgajdos
- -std=gnu11 to fix build with gcc15
- modified sources
  % cpanspec.yml

OBS-URL: https://build.opensuse.org/request/show/1281158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-Pg?expand=0&rev=107
2025-06-05 08:49:41 +00:00
2c14a3b361 Accepting request 1273178 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1273178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-Pg?expand=0&rev=62
2025-04-29 14:40:10 +00:00
607cb036bf Accepting request 1273159 from home:tinita:branches:devel:languages:perl
- Fix sporadic build failures by setting DBDPG_TEMPDIR for testing

OBS-URL: https://build.opensuse.org/request/show/1273159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-Pg?expand=0&rev=105
2025-04-28 14:37:28 +00:00
94e1fb8d05 Accepting request 1181969 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1181969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-Pg?expand=0&rev=61
2024-06-21 14:04:32 +00:00
3da096223d Accepting request 1181966 from home:dheidler:branches:devel:languages:perl
Mention 3.15.0 bugfix
   - Includes fix for testsuite [bsc#1197797]

OBS-URL: https://build.opensuse.org/request/show/1181966
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-Pg?expand=0&rev=103
2024-06-20 14:29:08 +00:00
4 changed files with 45 additions and 7 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-DBD-Pg/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-DBD-Pg)

View File

@@ -24,8 +24,10 @@ preamble: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
custom_build: |-
# 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
# HARNESS_VERBOSE=1 apparently fixes it
@@ -36,7 +38,14 @@ preamble: |-
# [ 59s] t/09arrays.t (Wstat: 11 Tests: 203 Failed: 0)
# [ 59s] Non-zero wait status: 11
# 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: |-
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
#ignore_requires: Bizarre::Module

View File

@@ -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>
@@ -94,6 +106,7 @@ Sat May 22 03:07:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 3.15.0
see /usr/share/doc/packages/perl-DBD-Pg/Changes
- Includes fix for testsuite [bsc#1197797]
Version 3.15.0 (released May 21, 2021)
- Adjust tests for the fact that reltuples can be -1 in Postgres

View File

@@ -1,7 +1,7 @@
#
# 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
# 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}
Source0: https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
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.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version} -p1
%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
%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
%perl_make_install