From: Kern Sibbald Date: Sat, 5 Feb 2011 11:57:15 +0000 (+0100) Subject: Add patch from bug #1574 for Scientific Linux spec X-Git-Tag: Release-7.0.0~1163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f442e171cbf4db3db71443e830dabc3766f03a;p=thirdparty%2Fbacula.git Add patch from bug #1574 for Scientific Linux spec --- diff --git a/bacula/platforms/rpm/bacula-bat.spec b/bacula/platforms/rpms/bacula-bat.spec similarity index 100% rename from bacula/platforms/rpm/bacula-bat.spec rename to bacula/platforms/rpms/bacula-bat.spec diff --git a/bacula/platforms/rpm/bacula-docs.spec b/bacula/platforms/rpms/bacula-docs.spec similarity index 100% rename from bacula/platforms/rpm/bacula-docs.spec rename to bacula/platforms/rpms/bacula-docs.spec diff --git a/bacula/platforms/rpm/bacula-mtx.spec b/bacula/platforms/rpms/bacula-mtx.spec similarity index 100% rename from bacula/platforms/rpm/bacula-mtx.spec rename to bacula/platforms/rpms/bacula-mtx.spec diff --git a/bacula/platforms/rpm/bacula.spec b/bacula/platforms/rpms/bacula.spec similarity index 98% rename from bacula/platforms/rpm/bacula.spec rename to bacula/platforms/rpms/bacula.spec index 201370f526..c58218f2cc 100644 --- a/bacula/platforms/rpm/bacula.spec +++ b/bacula/platforms/rpms/bacula.spec @@ -1,6 +1,6 @@ # Bacula RPM spec file # -# Copyright (C) 2000-2010 Free Software Foundation Europe e.V. +# Copyright (C) 2000-2011 Free Software Foundation Europe e.V. # Platform Build Configuration @@ -89,6 +89,10 @@ #Mandriva 2006 %if 0%{?mandriva_version} == 2006 #Mandriva 2007 %if 0%{?mandriva_version} == 2007 #Mandriva 2008 %if 0%{?mandriva_version} == 2008 +#SCIENTIFIC LINUX 3 %if 0%{?sl_version} == 3 +#SCIENTIFIC LINUX 4 %if 0%{?sl_version} == 4 +#SCIENTIFIC LINUX 5 %if 0%{?sl_version} == 5 + %if 0%{?opensuse_bs} @@ -210,6 +214,25 @@ BuildRequires: suse-release %define _dist "SLES 11" %endif ++%if 0%{?sl_version} == 3 ++%define build_sl3 ++%define _dist "Scientific Linux release 3" ++BuildRequires: fedora-release ++%endif ++ ++%if 0%{?sl_version} == 4 ++%define build_sl4 ++%define _dist "Scientific Linux release 4" ++BuildRequires: fedora-release ++%endif ++ ++%if 0%{?sl_version} == 5 ++%define build_sl5 ++%define _dist "Scientific Linux release 5" ++BuildRequires: fedora-release ++%endif + + %endif # opensuse-bs?