#5 Use /usr/bin/mail as a mailer
Merged 3 years ago by jridky. Opened 3 years ago by nforro.
rpms/ nforro/amanda f34  into  f34

file modified
+6 -3
@@ -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: 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 @@ 

  %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 @@ 

  

  

  %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.

  

This allows users to choose between mailx and s-nail, both provide /usr/bin/mail.

Pull-Request has been merged by jridky

3 years ago
Metadata