[amanda] Remove dependency on dump in RHEL-7

Petr Hracek phracek at fedoraproject.org
Tue Jun 25 11:48:53 UTC 2013


commit 290477eebba679a3cbdd6c19de783aa0630dd91c
Author: Petr Hracek <phracek at redhat.com>
Date:   Tue Jun 25 13:48:19 2013 +0200

    Remove dependency on dump in RHEL-7

 amanda.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/amanda.spec b/amanda.spec
index f6b69e3..e3aadc4 100644
--- a/amanda.spec
+++ b/amanda.spec
@@ -10,7 +10,7 @@
 Summary: A network-capable tape backup solution
 Name: amanda
 Version: 3.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
 Source1: amanda.crontab
 Source4: disklist
@@ -30,7 +30,10 @@ Group: Applications/System
 URL: http://www.amanda.org
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: automake autoconf libtool
-BuildRequires: dump gnuplot cups samba-client tar grep fileutils
+%if 0%{?fedora}
+BuildRequires: dump
+%endif
+BuildRequires: gnuplot cups samba-client tar grep fileutils
 BuildRequires: gcc-c++ readline-devel
 BuildRequires: krb5-devel rsh openssh-clients ncompress mtx mt-st
 BuildRequires: perl-devel perl(ExtUtils::Embed) perl(Test::Simple)
@@ -451,6 +454,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Tue Jun 25 2013 Petr Hracek <phracek at redhat.com> - 3.3.3-2
+- Remove dependency on dump in RHEL-7
+
 * Fri Mar 22 2013 Petr Hracek <phracek at redhat.com> - 3.3.3-1
 - New upstream version
 - Dependecy to /usr/sbin/service was removed.


More information about the scm-commits mailing list