Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Nikola Forró
45a6426458 Use /usr/bin/mail as a mailer 2021-02-23 16:22:44 +01:00

View file

@ -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ó <nforro@redhat.com> - 3.5.1-29
- Use /usr/bin/mail as a mailer
* Tue Feb 9 2021 Pavel Cahyna <pcahyna@redhat.com> - 3.5.1-28
- Make the gnuplot dependency together with building of amplot optional.