]> git.sur5r.net Git - bacula/bacula/commitdiff
Clean up termcap requirements.
authorScott Barninger <sbarn@scott.localdomain>
Sat, 13 Feb 2010 18:29:15 +0000 (13:29 -0500)
committerScott Barninger <sbarn@scott.localdomain>
Sat, 13 Feb 2010 18:30:05 +0000 (13:30 -0500)
bacula/platforms/rpm/bacula.spec

index f80b6f512ac8f794e15f1b7e4755e8defe5cede0..03cf8672e6ced23a1fc13a7d54660979de5a6237 100644 (file)
@@ -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 <barninger@fairfieldcomputers.com>
 - fix client only build
+- clean up requirements for termcap
 * Sun Feb 07 2010 D. Scott Barninger <barninger@fairfieldcomputers.com>
 - fix mysql database upgrade
 * Fri Feb 05 2010 D. Scott Barninger <barninger@fairfieldcomputers.com>