From 45a6426458ba5f4d228713204f0027ccf07dace9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 23 Feb 2021 16:22:44 +0100 Subject: [PATCH] Use /usr/bin/mail as a mailer --- amanda.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/amanda.spec b/amanda.spec index 7b51476..01a79c1 100644 --- a/amanda.spec +++ b/amanda.spec @@ -16,7 +16,7 @@ Summary: A network-capable tape backup solution Name: amanda Version: 3.5.1 -Release: 28%{?dist} +Release: 29%{?dist} Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab Source4: disklist @@ -58,7 +58,7 @@ BuildRequires: perl-devel perl-generators perl(ExtUtils::Embed) perl(Test::Simpl BuildRequires: glib2-devel openssl-devel swig bison flex BuildRequires: libcurl-devel procps-ng systemd BuildRequires: make -Requires: grep tar /bin/mail +Requires: grep tar /usr/bin/mail Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: amanda-libs%{?_isa} = %{version}-%{release} Requires(post): /sbin/ldconfig @@ -127,7 +127,7 @@ server also needs to have the amanda-client package installed. %build ./autogen -export MAILER=/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_LD_FLAGS -pie" +export MAILER=/usr/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_LD_FLAGS -pie" %configure --enable-shared \ --disable-rpath \ --disable-static \ @@ -459,6 +459,9 @@ make check %changelog +* Tue Feb 23 2021 Nikola Forró - 3.5.1-29 +- Use /usr/bin/mail as a mailer + * Tue Feb 9 2021 Pavel Cahyna - 3.5.1-28 - Make the gnuplot dependency together with building of amplot optional.