From 6578ce03712f46791e0b489a60b895644d82c513 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sun, 29 Jan 2006 14:45:52 +0000 Subject: [PATCH] Add centos3 build tag to spec file/ git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2773 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/mandrake/bacula.spec.in | 9 +++++++-- bacula/platforms/redhat/bacula.spec.in | 9 +++++++-- bacula/platforms/suse/bacula.spec.in | 9 +++++++-- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index 062a1c51ba..d9a08e1907 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -46,6 +46,9 @@ %{?build_rhel4:%define rhel4 1} %{?build_rhel4:%define fc3 1} # CentOS build +%define centos3 0 +%{?build_centos3:%define centos3 1} +%{?build_centos3:%define wb3 1} %define centos4 0 %{?build_centos4:%define centos4 1} %{?build_centos4:%define fc3 1} @@ -105,13 +108,13 @@ exit 1 %if %{fc1} || %{fc4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{centos4} +%if %{centos4} || %{centos3} %define _dist %(grep CentOS /etc/redhat-release) %endif %if %{fc3} && ! %{rhel4} && ! %{centos4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{wb3} && ! %{rhel3} +%if %{wb3} && ! %{rhel3} && ! %{centos3} %define _dist %(grep White /etc/whitebox-release) %endif %if %{su9} || %{su10} @@ -1233,6 +1236,8 @@ fi %endif %changelog +* Sun Jan 29 2006 D. Scott Barninger +- add centos3 build tag * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index 062a1c51ba..d9a08e1907 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -46,6 +46,9 @@ %{?build_rhel4:%define rhel4 1} %{?build_rhel4:%define fc3 1} # CentOS build +%define centos3 0 +%{?build_centos3:%define centos3 1} +%{?build_centos3:%define wb3 1} %define centos4 0 %{?build_centos4:%define centos4 1} %{?build_centos4:%define fc3 1} @@ -105,13 +108,13 @@ exit 1 %if %{fc1} || %{fc4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{centos4} +%if %{centos4} || %{centos3} %define _dist %(grep CentOS /etc/redhat-release) %endif %if %{fc3} && ! %{rhel4} && ! %{centos4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{wb3} && ! %{rhel3} +%if %{wb3} && ! %{rhel3} && ! %{centos3} %define _dist %(grep White /etc/whitebox-release) %endif %if %{su9} || %{su10} @@ -1233,6 +1236,8 @@ fi %endif %changelog +* Sun Jan 29 2006 D. Scott Barninger +- add centos3 build tag * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index 062a1c51ba..d9a08e1907 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -46,6 +46,9 @@ %{?build_rhel4:%define rhel4 1} %{?build_rhel4:%define fc3 1} # CentOS build +%define centos3 0 +%{?build_centos3:%define centos3 1} +%{?build_centos3:%define wb3 1} %define centos4 0 %{?build_centos4:%define centos4 1} %{?build_centos4:%define fc3 1} @@ -105,13 +108,13 @@ exit 1 %if %{fc1} || %{fc4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{centos4} +%if %{centos4} || %{centos3} %define _dist %(grep CentOS /etc/redhat-release) %endif %if %{fc3} && ! %{rhel4} && ! %{centos4} %define _dist %(grep Fedora /etc/redhat-release) %endif -%if %{wb3} && ! %{rhel3} +%if %{wb3} && ! %{rhel3} && ! %{centos3} %define _dist %(grep White /etc/whitebox-release) %endif %if %{su9} || %{su10} @@ -1233,6 +1236,8 @@ fi %endif %changelog +* Sun Jan 29 2006 D. Scott Barninger +- add centos3 build tag * Fri Jan 27 2006 D. Scott Barninger - add fc4 dependencies * Mon Jan 23 2006 D. Scott Barninger -- 2.39.5