From b97d4394f7b99951271b1a33955f054bbe3abcf2 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 13 Feb 2010 13:29:15 -0500 Subject: [PATCH] Clean up termcap requirements. --- bacula/platforms/rpm/bacula.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bacula/platforms/rpm/bacula.spec b/bacula/platforms/rpm/bacula.spec index f80b6f512a..03cf8672e6 100644 --- a/bacula/platforms/rpm/bacula.spec +++ b/bacula/platforms/rpm/bacula.spec @@ -508,20 +508,19 @@ BuildRequires: python, python-devel %endif %if %{rh7} -BuildRequires: libtermcap-devel BuildRequires: libxml-devel %endif -%if %{suse} -BuildRequires: termcap -%endif %if %{mdk} -BuildRequires: libtermcap-devel BuildRequires: libstdc++-static-devel BuildRequires: glibc-static-devel %endif -%if %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc7} || %{fc8} + +%if %{suse} +BuildRequires: termcap +%else BuildRequires: libtermcap-devel %endif + %if %{sqlite} BuildRequires: sqlite-devel %endif @@ -567,12 +566,11 @@ Conflicts: bacula-client Requires: ncurses, libstdc++, zlib, openssl Requires: glibc -%if %{rhel} || %{rhat} || %{fed} -Requires: libtermcap -%endif %if %{suse} Conflicts: bacula Requires: termcap +%else +Requires: libtermcap %endif %if %{mysql} @@ -1453,6 +1451,7 @@ echo "The database update scripts were installed to %{script_dir}/updatedb" %changelog * Sat Feb 13 2010 D. Scott Barninger - fix client only build +- clean up requirements for termcap * Sun Feb 07 2010 D. Scott Barninger - fix mysql database upgrade * Fri Feb 05 2010 D. Scott Barninger -- 2.39.5