From ba6673e8906a7f917ce7c77c89cee6eb74c391e1 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 25 Apr 2009 17:26:36 +0000 Subject: [PATCH] Add build tag for distribution name. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8745 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/mandrake/bacula.spec.in | 3 +++ bacula/platforms/redhat/bacula.spec.in | 3 +++ bacula/platforms/suse/bacula.spec.in | 3 +++ 3 files changed, 9 insertions(+) diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index 723bf9ab14..8f9060e8f7 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -255,6 +255,7 @@ exit 1 %if %{mdk} %define _dist %(grep Mand /etc/mandrake-release) %endif +%{?DISTNAME:%define _dist %{DISTNAME}} Distribution: %{_dist} # Should we build gconsole, possible only if gtk= >= 2.4 available. @@ -2548,6 +2549,8 @@ fi %endif %changelog +* Sat Apr 25 2009 D. Scott Barninger +- add switch to pass Distribution tag * Sun Apr 5 2009 D. Scott Barninger - 3.0.0 release - database update version 10 to 11 diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index 723bf9ab14..8f9060e8f7 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -255,6 +255,7 @@ exit 1 %if %{mdk} %define _dist %(grep Mand /etc/mandrake-release) %endif +%{?DISTNAME:%define _dist %{DISTNAME}} Distribution: %{_dist} # Should we build gconsole, possible only if gtk= >= 2.4 available. @@ -2548,6 +2549,8 @@ fi %endif %changelog +* Sat Apr 25 2009 D. Scott Barninger +- add switch to pass Distribution tag * Sun Apr 5 2009 D. Scott Barninger - 3.0.0 release - database update version 10 to 11 diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index 723bf9ab14..8f9060e8f7 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -255,6 +255,7 @@ exit 1 %if %{mdk} %define _dist %(grep Mand /etc/mandrake-release) %endif +%{?DISTNAME:%define _dist %{DISTNAME}} Distribution: %{_dist} # Should we build gconsole, possible only if gtk= >= 2.4 available. @@ -2548,6 +2549,8 @@ fi %endif %changelog +* Sat Apr 25 2009 D. Scott Barninger +- add switch to pass Distribution tag * Sun Apr 5 2009 D. Scott Barninger - 3.0.0 release - database update version 10 to 11 -- 2.39.5