From: Scott Barninger Date: Thu, 25 Feb 2010 17:22:58 +0000 (-0500) Subject: Add missing defines for gccver. X-Git-Tag: Release-5.0.2~195 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41f9d144b4ab5f39bf5607c7d0965040c2366998;p=bacula%2Fbacula Add missing defines for gccver. --- diff --git a/bacula/platforms/rpm/bacula-bat.spec b/bacula/platforms/rpm/bacula-bat.spec index c9f6fc0b99..907d25d854 100644 --- a/bacula/platforms/rpm/bacula-bat.spec +++ b/bacula/platforms/rpm/bacula-bat.spec @@ -55,6 +55,9 @@ %{?contrib_packager:%define _packager %{contrib_packager}} +%{expand: %%define gccver %(rpm -q --queryformat %%{version} gcc)} +%{expand: %%define gccrel %(rpm -q --queryformat %%{release} gcc)} + # determine what platform we are building on %define fedora 0 %define suse 0