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