diff --git a/amanda.spec b/amanda.spec index ff5a1cd..622b423 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: 29%{?dist} +Release: 30%{?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 \ @@ -453,6 +453,9 @@ make check %changelog +* Wed Mar 03 2021 Nikola Forró - 3.5.1-30 +- Use /usr/bin/mail as mailer + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.5.1-29 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583.