From: Scott Barninger Date: Sat, 25 Apr 2009 17:26:36 +0000 (+0000) Subject: Add build tag for distribution name. X-Git-Tag: Release-7.0.0~3117 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d7f52939e809c60854ea641c534a40e30e32969;p=bacula%2Fbacula Add build tag for distribution name. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8745 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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