]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- allow '@' in version / release
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2020 18:33:52 +0000 (19:33 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2020 18:33:52 +0000 (19:33 +0100)
allow-at-in-ver-rel.patch [new file with mode: 0644]
rpm.spec

diff --git a/allow-at-in-ver-rel.patch b/allow-at-in-ver-rel.patch
new file mode 100644 (file)
index 0000000..66964a6
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpm-4.16.0/build/rpmbuild_internal.h~      2020-05-28 12:04:25.000000000 +0200
++++ rpm-4.16.0/build/rpmbuild_internal.h       2020-11-21 19:32:47.432243301 +0100
+@@ -18,7 +18,7 @@
+ #undef HTDATATYPE
+ #define WHITELIST_NAME ".-_+%{}"
+-#define WHITELIST_VERREL "._+%{}~^"
++#define WHITELIST_VERREL "._+%{}~^@"
+ #define WHITELIST_EVR WHITELIST_VERREL "-:"
+ #define LEN_AND_STR(_tag) (sizeof(_tag)-1), (_tag)
index e5cd89759f3b6c1e12ef99a9d167cea3aead09ae..2cba870e59e88e0150c29d56a52fdd64cc6ab3be 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,7 +26,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       4.16.0
-Release:       0.7
+Release:       0.8
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
@@ -76,6 +76,7 @@ Patch22:      ix86-platforms.patch
 Patch23:       shortcircuited-deps.patch
 Patch24:       cpuinfo-deps.patch
 Patch25:       rpmio-read-proc-files.patch
+Patch26:       allow-at-in-ver-rel.patch
 URL:           https://rpm.org/
 BuildRequires: acl-devel
 BuildRequires: db-devel >= %{db_ver}
@@ -567,6 +568,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch23 -p1
 %patch24 -p1
 %patch25 -p1
+%patch26 -p1
 
 install %{SOURCE15} scripts/perl.prov.in
 
This page took 0.103417 seconds and 4 git commands to generate.