From e213cf3106d1db8ca9cab313d1c5b3415de667938901f7178ee0ba1da3ec18dd Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Mon, 28 May 2018 09:56:30 +0000 Subject: [PATCH] Accepting request 612625 from home:bruno_friedmann:branches:server:database:postgresql - Urgent fix : add perl as BuildRequires and Requires to force presence of libperl.so : Otherwise pgbackrest binary can't find it - Spec : use %make_build macros OBS-URL: https://build.opensuse.org/request/show/612625 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=13 --- pgbackrest.changes | 8 ++++++++ pgbackrest.spec | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pgbackrest.changes b/pgbackrest.changes index ac5e9d0..56ac983 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 28 08:21:30 UTC 2018 - bruno@ioda-net.ch + +- Urgent fix : add perl as BuildRequires and Requires to force + presence of libperl.so : Otherwise pgbackrest binary can't find + it +- Spec : use %make_build macros + ------------------------------------------------------------------- Wed May 23 09:55:27 UTC 2018 - bruno@ioda-net.ch diff --git a/pgbackrest.spec b/pgbackrest.spec index dc6dd88..1882aa5 100644 --- a/pgbackrest.spec +++ b/pgbackrest.spec @@ -27,9 +27,11 @@ URL: http://www.pgbackrest.org/ Source: https://github.com/pgbackrest/pgbackrest/archive/release/%{version}.tar.gz Source1: pgbackrest-conf.patch BuildRequires: openssl-devel +BuildRequires: perl BuildRequires: perl-libxml-perl BuildRequires: perl(DBD::Pg) BuildRequires: perl(IO::Socket::SSL) +Requires: perl Requires: perl-libxml-perl Requires: perl(DBD::Pg) Requires: perl(IO::Socket::SSL) @@ -55,12 +57,12 @@ are required to perform a backup which increases security. %build #TODO upstream doesn't care about RPM_OPT_FLAGS pushd src -make V=1 %{?_smp_mflags} +%make_build popd pushd libc perl Makefile.PL -make V=1 %{?_smp_mflags} +%make_build popd %install