chantra / rpms / rpm

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