672c60
A partial no-op backport of commit 9e8e8bcfb1b1fa359c37499e11a302ec7bde1595
672c60
to get caret patches to apply nicely
672c60
672c60
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
672c60
index 5715d2569..7d89617c2 100644
672c60
--- a/build/parsePreamble.c
672c60
+++ b/build/parsePreamble.c
672c60
@@ -22,8 +22,6 @@
672c60
 #define SKIPWHITE(_x)	{while (*(_x) && (risspace(*_x) || *(_x) == ',')) (_x)++;}
672c60
 #define SKIPNONWHITE(_x){while (*(_x) &&!(risspace(*_x) || *(_x) == ',')) (_x)++;}
672c60
 
672c60
-#define WHITELIST_NAME ".-_+%{}"
672c60
-
672c60
 /**
672c60
  */
672c60
 static const rpmTagVal copyTagsDuringParse[] = {
672c60
diff --git a/build/rpmbuild_internal.h b/build/rpmbuild_internal.h
672c60
index 439b7d3b5..cc9de88f9 100644
672c60
--- a/build/rpmbuild_internal.h
672c60
+++ b/build/rpmbuild_internal.h
672c60
@@ -17,6 +17,8 @@
672c60
 #undef HTKEYTYPE
672c60
 #undef HTDATATYPE
672c60
 
672c60
+#define WHITELIST_NAME ".-_+%{}"
672c60
+
672c60
 struct TriggerFileEntry {
672c60
     int index;
672c60
     char * fileName;