From: Kern Sibbald Date: Wed, 29 Jul 2009 19:50:19 +0000 (+0000) Subject: Tweak bacula.spec X-Git-Tag: Release-5.0.0~440 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d857955c4b47835deda5fb9de81aad73485b2c52;p=bacula%2Fbacula Tweak bacula.spec git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9122 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/platforms/redhat/bacula.spec b/bacula/platforms/redhat/bacula.spec index 06eeb9817e..246b8c55f5 100644 --- a/bacula/platforms/redhat/bacula.spec +++ b/bacula/platforms/redhat/bacula.spec @@ -52,9 +52,6 @@ %define storage_daemon_group disk - -BuildRequires: libacl-devel - # probems with mandriva build: # nothing provides libbonobo2_0-devel, nothing provides libbonoboui2_0-devel @@ -108,7 +105,7 @@ BuildRequires: shadow-utils %if 0%{?mandriva_version} == 2007 %define build_mdv 1 %define _dist "Mandriva 2007" -# %define gconsole 0 +%define gconsole 0 %endif %if 0%{?fedora_version} == 8 @@ -422,7 +419,7 @@ Distribution: %{_dist} # su10, fc3 and fc4 now nobuild, tray monitor fails to build as of 2.2.1 # release as it needs 2.10 -%define gconsole 1 +%define gconsole 0 %if %{rh7} || %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{su9} || %{su10} %define gconsole 0 %endif @@ -477,13 +474,12 @@ Distribution: %{_dist} %define wxconsole 0 %endif -%{expand: %%define gccver %(rpm -q --queryformat %%{version} gcc)} -%{expand: %%define gccrel %(rpm -q --queryformat %%{release} gcc)} - BuildRequires: gcc, gcc-c++, make, autoconf BuildRequires: ncurses-devel, perl -BuildRequires: libstdc++-devel = %{gccver}-%{gccrel}, zlib-devel +BuildRequires: libstdc++-devel, zlib-devel BuildRequires: openssl-devel +BuildRequires: libacl-devel +BuildRequires: pkgconfig %if ! %{rh7} BuildRequires: libxml2-devel %endif @@ -494,23 +490,6 @@ BuildRequires: python, python-devel %if %{gconsole} BuildRequires: pkgconfig, pango-devel, atk-devel %endif -%if %{bat} -BuildRequires: pkgconfig -%endif - -# Rh qt4 packages don't have a provide for, guess what, qt! -# still broken in fc8, ok in fc9 -# so fix for broken rh -%define broken_rh 0 -%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} || %{fc8} -%define broken_rh 1 -%endif -%if %{bat} && ! %{broken_rh} -BuildRequires: qt-devel >= 4.2 -%endif -%if %{bat} && %{broken_rh} -BuildRequires: qt4-devel >= 4.2 -%endif %if %{rh7} BuildRequires: libtermcap-devel