diff --git a/amanda.spec b/amanda.spec index 97e491d..2af31e5 100644 --- a/amanda.spec +++ b/amanda.spec @@ -11,7 +11,7 @@ Summary: A network-capable tape backup solution Name: amanda Version: 2.5.2p1 -Release: 6%{?dist} +Release: 7%{?dist} Source: http://download.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab Source4: disklist @@ -28,8 +28,9 @@ URL: http://www.amanda.org Prereq: fileutils grep initscripts BuildRequires: dump gnuplot cups samba-client tar grep fileutils BuildRequires: libtool automake autoconf gcc-c++ readline-devel /usr/bin/Mail -BuildRequires: krb5-devel rsh openssh-clients ncompress +BuildRequires: krb5-devel rsh openssh-clients ncompress mtx mt-st Requires: tar /usr/bin/Mail +Requires(pre): useradd BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -164,7 +165,7 @@ rm $RPM_BUILD_ROOT/%{_libdir}/*.la rm -rf ${RPM_BUILD_ROOT} %pre -useradd -M -n -g %amanda_group -o -r -d %{_localstatedir}/amanda -s /bin/bash \ +/usr/sbin/useradd -M -n -g %amanda_group -o -r -d %{_localstatedir}/amanda -s /bin/bash \ -c "Amanda user" -u 33 %amanda_user >/dev/null 2>&1 || : @@ -338,6 +339,9 @@ useradd -M -n -g %amanda_group -o -r -d %{_localstatedir}/amanda -s /bin/bash \ %{_libdir}/libamandad.so %changelog +* Fri Aug 17 2007 Radek Brich 2.5.2.p1-7 +- BuildRequires mtx and mt-st (#251690). + * Fri Aug 10 2007 Radek Brich 2.5.2.p1-6 - Included upstream patch for chg-multi.sh (#251316).