[packages/rpm] - revert to pre-6.0 behavior and don't enforce signature presence
baggins
baggins at pld-linux.org
Sun Oct 5 15:24:23 CEST 2025
commit 4a2901f0acb1745b13bf6af1cea7988280f98814
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 5 17:23:36 2025 +0200
- revert to pre-6.0 behavior and don't enforce signature presence
no-enforce-signatures.patch | 11 +++++++++++
rpm.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index 9c94f96..e0d1050 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -34,7 +34,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 6.0.0
-Release: 0.4
+Release: 0.5
Epoch: 1
License: GPL v2 / LGPL v2.1
Group: Base
@@ -88,6 +88,7 @@ Patch29: build-locale.patch
Patch30: no-exe-for-elf-req.patch
Patch33: disable-sysusers.patch
Patch34: export-interfaces-for-poldek.patch
+Patch35: no-enforce-signatures.patch
URL: https://rpm.org/
BuildRequires: acl-devel
%{?with_audit:BuildRequires: audit-libs-devel}
@@ -647,6 +648,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
%patch -P30 -p1
%patch -P33 -p1
%patch -P34 -p1
+%patch -P35 -p1
# generate Group translations to *.po
awk -f %{SOURCE6} %{SOURCE5}
diff --git a/no-enforce-signatures.patch b/no-enforce-signatures.patch
new file mode 100644
index 0000000..7acd725
--- /dev/null
+++ b/no-enforce-signatures.patch
@@ -0,0 +1,11 @@
+--- rpm-6.0.0/macros.in~ 2025-10-05 17:05:34.000000000 +0200
++++ rpm-6.0.0/macros.in 2025-10-05 17:21:19.013330659 +0200
+@@ -679,7 +679,7 @@
+ # signature require valid signature(s)
+ # digest require valid digest(s)
+ # none traditional rpm behavior, nothing required
+-%_pkgverify_level all
++%_pkgverify_level digest
+
+ # Disabler flags for package verification (similar to vsflags)
+ # Set to 0x0 for full compatibility with v4 packages.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/4a2901f0acb1745b13bf6af1cea7988280f98814
More information about the pld-cvs-commit
mailing list