[bacula] Fix building on RHEL/CentOS 4

Simone Caronni slaanesh at fedoraproject.org
Wed Dec 7 09:19:50 UTC 2011


commit c3b2c9bb95efa85ee482530a14e710fb5477227c
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Dec 7 10:19:28 2011 +0100

    Fix building on RHEL/CentOS 4

 bacula.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index d8d87a9..c2903a5 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -1,6 +1,6 @@
 Name:			bacula
 Version:		5.2.2
-Release:		7%{?dist}
+Release:		8%{?dist}
 Summary:		Cross platform network backup for Linux, Unix, Mac and Windows
 # See LICENSE for details
 License:		GPLv2 with exceptions
@@ -34,7 +34,7 @@ BuildRequires:		openssl-devel, ncurses-devel, perl, glibc-devel
 BuildRequires:		libstdc++-devel, libxml2-devel, zlib-devel
 BuildRequires:		mysql-devel, postgresql-devel, sqlite-devel
 BuildRequires:		desktop-file-utils, python-devel, lzo-devel, sed
-BuildRequires:		libacl-devel, latex2html, tetex-latex, tetex, ghostscript
+BuildRequires:		libacl-devel, tetex-latex, tetex, ghostscript
 BuildRequires:		readline-devel, libcap-devel
 
 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
@@ -55,6 +55,10 @@ BuildRequires:		dvipdfm
 BuildRequires:		systemd-units
 %endif
 
+%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
+BuildRequires:		latex2html
+%endif
+
 %description
 Bacula is a set of programs that allow you to manage the backup,
 recovery, and verification of computer data across a network of
@@ -817,6 +821,9 @@ fi
 
 
 %changelog
+* Wed Dec 07 2011 Simone Caronni <negativo17 at gmail.com> - 5.2.2-8
+- Fixed building on RHEL/CentOS 4.
+
 * Tue Dec 06 2011 Simone Caronni <negativo17 at gmail.com> - 5.2.2-7
 - Added libcap for POSIX.1e capabilities in bacula-fd (5.0.0 feature).
 - Allow systemd files to read options set in the sysconfig


More information about the scm-commits mailing list