From: Kern Sibbald Date: Thu, 11 Feb 2010 11:02:14 +0000 (+0100) Subject: Apply rpm fix for Sci Linux from bug #1494 X-Git-Tag: Release-5.0.1~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9d235498dc675fed5fd4f81f3886b1695145fa2;p=bacula%2Fbacula Apply rpm fix for Sci Linux from bug #1494 --- diff --git a/bacula/platforms/rpm/bacula.spec b/bacula/platforms/rpm/bacula.spec index c8d63feb44..a774be3ca6 100644 --- a/bacula/platforms/rpm/bacula.spec +++ b/bacula/platforms/rpm/bacula.spec @@ -367,7 +367,7 @@ Source3: http://www.prdownloads.sourceforge.net/bacula/depkgs-%{depkgs_version}. # test for a platform definition -%if !%{rhat} && !%{rhel} && !%{fed} && !%{wb3} && !%{suse} && !%{mdk} +%if !%{rhat} && !%{rhel} && !%{fed} && !%{wb3} && !%{suse} && !%{mdk} && !%{scil} %{error: You must specify a platform. Please examine the spec file.} exit 1 %endif @@ -723,6 +723,7 @@ cd ${cwd} patch -p3 src/cats/postgresql.c < %SOURCE2 %endif +%if %{sqlite} # patches for the bundled sqlite scripts # patch the make_sqlite_tables script for installation bindir @@ -741,6 +742,7 @@ patch src/cats/update_sqlite3_tables.in src/cats/update_sqlite3_tables.in.patch %if %{sqlite} && %{suse} patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch %endif +%endif # 64 bit lib location hacks # as of 1.39.18 it should not be necessary to enable x86_64 as configure is