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