You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Remove RHEL package patch now that it has been merged upstream.
Also revert 731ffcfb and update ContainerTest.pm for upstream changes.
This commit is contained in:
+2
-2
@@ -15,10 +15,10 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- env: PGB_CI="test --vm=u12"
|
- env: PGB_CI="test --vm=u12"
|
||||||
- env: PGB_CI="test --vm=f30 --param=no-package --param=c-only"
|
- env: PGB_CI="test --vm=f30 --param=no-package --param=c-only"
|
||||||
- env: PGB_CI="test --vm=co6 --param=no-package --param=module=mock --param=module=real"
|
- env: PGB_CI="test --vm=co6 --param=module=mock --param=module=real"
|
||||||
- env: PGB_CI="test --vm=u18 --param=container-only"
|
- env: PGB_CI="test --vm=u18 --param=container-only"
|
||||||
- env: PGB_CI=" doc --vm=u18"
|
- env: PGB_CI=" doc --vm=u18"
|
||||||
- env: PGB_CI="test --vm=co7 --param=no-package --param=module=mock --param=module=real"
|
- env: PGB_CI="test --vm=co7 --param=module=mock --param=module=real"
|
||||||
- dist: bionic
|
- dist: bionic
|
||||||
env:
|
env:
|
||||||
- PGB_CI="test --vm=none --param=tz=America/New_York"
|
- PGB_CI="test --vm=none --param=tz=America/New_York"
|
||||||
|
|||||||
@@ -566,12 +566,17 @@ sub containerBuild
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
# Fetching specific files is fragile but even a shallow clone of the entire pgrpms repo is very expensive. Using
|
||||||
|
# 'git archive' does not seem to work: access denied or repository not exported: /git/pgrpms.git.
|
||||||
$strScript .= sectionHeader() .
|
$strScript .= sectionHeader() .
|
||||||
"# Install pgBackRest package source\n" .
|
"# Install pgBackRest package source\n" .
|
||||||
" mkdir /root/package-src && \\\n" .
|
" mkdir /root/package-src && \\\n" .
|
||||||
" wget -O /root/package-src/pgbackrest-conf.patch " .
|
" wget -O /root/package-src/pgbackrest-conf.patch " .
|
||||||
"'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;" .
|
"'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;" .
|
||||||
"f=rpm/redhat/master/pgbackrest/master/pgbackrest-conf.patch;hb=refs/heads/master' && \\\n" .
|
"f=rpm/redhat/master/pgbackrest/master/pgbackrest-conf.patch;hb=refs/heads/master' && \\\n" .
|
||||||
|
" wget -O /root/package-src/pgbackrest-libxmlinclude.patch " .
|
||||||
|
"'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;" .
|
||||||
|
"f=rpm/redhat/master/pgbackrest/master/pgbackrest-libxmlinclude.patch;hb=refs/heads/master' && \\\n" .
|
||||||
" wget -O /root/package-src/pgbackrest.spec " .
|
" wget -O /root/package-src/pgbackrest.spec " .
|
||||||
"'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;" .
|
"'https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;" .
|
||||||
"f=rpm/redhat/master/pgbackrest/master/pgbackrest.spec;hb=refs/heads/master'";
|
"f=rpm/redhat/master/pgbackrest/master/pgbackrest.spec;hb=refs/heads/master'";
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
--- pgbackrest.spec
|
|
||||||
+++ pgbackrest.spec
|
|
||||||
@@ -8,16 +8,7 @@
|
|
||||||
Url: http://www.pgbackrest.org/
|
|
||||||
Source0: https://github.com/pgbackrest/pgbackrest/archive/release/%{version}.tar.gz
|
|
||||||
Source1: pgbackrest-conf.patch
|
|
||||||
-Requires: perl-XML-LibXML perl-IO-Socket-SSL
|
|
||||||
-%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
||||||
-Requires: perl-parent perl-JSON perl-Time-HiRes
|
|
||||||
-%else
|
|
||||||
-Requires: perl-JSON-PP
|
|
||||||
-%endif
|
|
||||||
-Requires: perl-Digest-SHA perl-DBD-Pg perl-Time-HiRes zlib
|
|
||||||
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
-BuildRequires: openssl-devel zlib-devel perl-ExtUtils-Embed
|
|
||||||
-BuildRequires: postgresql%{pgmajorversion}-devel
|
|
||||||
+BuildRequires: openssl-devel zlib-devel postgresql%{pgmajorversion}-devel
|
|
||||||
Requires: postgresql-libs
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user