From 41f9d144b4ab5f39bf5607c7d0965040c2366998 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