michal-grzedzicki / rpms / rpm

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