From 34d7698a5ef25b15b3ed75f59263751daf84f4d4 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 11 Feb 2010 12:02:14 +0100 Subject: [PATCH] Apply rpm fix for Sci Linux from bug #1494 --- bacula/platforms/rpm/bacula.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5