From: Scott Barninger Date: Thu, 25 Feb 2010 17:22:58 +0000 (-0500) Subject: Add missing defines for gccver. X-Git-Tag: Release-7.0.0~2140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ece89c286408defc3e46727ca4db2419d531bf6c;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