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-7.0.0~2240 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=34d7698a5ef25b15b3ed75f59263751daf84f4d4;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 20e579595d..a0f08bbf1d 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