richardphibel / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
672c60
From 15b296c324794d288750136b3b4f3350c3d0b8c7 Mon Sep 17 00:00:00 2001
672c60
Message-Id: <15b296c324794d288750136b3b4f3350c3d0b8c7.1574338687.git.pmatilai@redhat.com>
672c60
In-Reply-To: <e8fce62467a421132f4ebb6ca9c0926b623ec00e.1574338687.git.pmatilai@redhat.com>
672c60
References: <e8fce62467a421132f4ebb6ca9c0926b623ec00e.1574338687.git.pmatilai@redhat.com>
672c60
From: Panu Matilainen <pmatilai@redhat.com>
672c60
Date: Tue, 27 Nov 2018 13:50:14 +0200
672c60
Subject: [PATCH 2/2] Actually permit caret in version, release and evr strings
672c60
672c60
Should've been in commit c7e711bba58374f03347c795a567441cbef3de58 really.
672c60
---
672c60
 build/rpmbuild_internal.h | 2 +-
672c60
 1 file changed, 1 insertion(+), 1 deletion(-)
672c60
672c60
diff --git a/build/rpmbuild_internal.h b/build/rpmbuild_internal.h
672c60
index f758e6620..948632a16 100644
672c60
--- a/build/rpmbuild_internal.h
672c60
+++ b/build/rpmbuild_internal.h
672c60
@@ -18,7 +18,7 @@
672c60
 #undef HTDATATYPE
672c60
 
672c60
 #define WHITELIST_NAME ".-_+%{}"
672c60
-#define WHITELIST_VERREL "._+%{}~"
672c60
+#define WHITELIST_VERREL "._+%{}~^"
672c60
 #define WHITELIST_EVR WHITELIST_VERREL "-:"
672c60
 
672c60
 struct TriggerFileEntry {
672c60
-- 
672c60
2.23.0
672c60