]> git.sur5r.net Git - bacula/bacula/commitdiff
Add centos3 build tag to spec file/
authorScott Barninger <scott@barninger.com>
Sun, 29 Jan 2006 14:45:52 +0000 (14:45 +0000)
committerScott Barninger <scott@barninger.com>
Sun, 29 Jan 2006 14:45:52 +0000 (14:45 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2773 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/platforms/mandrake/bacula.spec.in
bacula/platforms/redhat/bacula.spec.in
bacula/platforms/suse/bacula.spec.in

index 062a1c51ba3aeb3aa0cf0621509bdee276545c15..d9a08e1907e951db304cfc73b696fcd444e9ef45 100644 (file)
@@ -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 <barninger@fairfieldcomputers.com>
+- add centos3 build tag
 * Fri Jan 27 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>
 - add fc4 dependencies
 * Mon Jan 23 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>
index 062a1c51ba3aeb3aa0cf0621509bdee276545c15..d9a08e1907e951db304cfc73b696fcd444e9ef45 100644 (file)
@@ -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 <barninger@fairfieldcomputers.com>
+- add centos3 build tag
 * Fri Jan 27 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>
 - add fc4 dependencies
 * Mon Jan 23 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>
index 062a1c51ba3aeb3aa0cf0621509bdee276545c15..d9a08e1907e951db304cfc73b696fcd444e9ef45 100644 (file)
@@ -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 <barninger@fairfieldcomputers.com>
+- add centos3 build tag
 * Fri Jan 27 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>
 - add fc4 dependencies
 * Mon Jan 23 2006 D. Scott Barninger <barninger@fairfieldcomputers.com>