From ece89c286408defc3e46727ca4db2419d531bf6c Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Thu, 25 Feb 2010 12:22:58 -0500 Subject: [PATCH] Add missing defines for gccver. --- bacula/platforms/rpm/bacula-bat.spec | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5