summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-12-12 21:14:05 +0000
committerjbj <devnull@localhost>1999-12-12 21:14:05 +0000
commit8f481702d8203c95d390f6eac93434019cf8d797 (patch)
tree16bb1c1650660851f355779a70727e934f26fc9d /build/spec.c
parent292b9f10befbeb1044d2db98f62de0e65aff3317 (diff)
downloadrpm-8f481702d8203c95d390f6eac93434019cf8d797.tar.gz
rpm-8f481702d8203c95d390f6eac93434019cf8d797.tar.bz2
rpm-8f481702d8203c95d390f6eac93434019cf8d797.zip
reload macros from cmd line when re-reading config files.
CVS patchset: 3479 CVS date: 1999/12/12 21:14:05
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/spec.c b/build/spec.c
index 4a4a611ec..54625124d 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -4,7 +4,7 @@
#include "buildio.h"
extern char *specedit;
-extern MacroContext globalMacroContext;
+extern MacroContext rpmGlobalMacroContext;
#define SKIPWHITE(_x) {while(*(_x) && (isspace(*_x) || *(_x) == ',')) (_x)++;}
#define SKIPNONWHITE(_x){while(*(_x) &&!(isspace(*_x) || *(_x) == ',')) (_x)++;}
@@ -446,7 +446,7 @@ Spec newSpec(void)
spec->force = 0;
spec->anyarch = 0;
- spec->macros = &globalMacroContext;
+ spec->macros = &rpmGlobalMacroContext;
return spec;
}