From 7cdaeb70ca4f5369c4b1a204b668964f875dcf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 25 Apr 2023 16:10:36 +0200 Subject: [PATCH] Require rpm-sequoia >= 1.4.0 to avoid undefined symbol: _pgpVerifySignature2 With rpm-4.18.1-2.fc39.x86_64 and rpm-sequoia-1.3.0-1.fc39.x86_64: $ rpm -q rpm rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2 --- rpm.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rpm.spec b/rpm.spec index cc6e70b..e650700 100644 --- a/rpm.spec +++ b/rpm.spec @@ -32,7 +32,7 @@ %global rpmver 4.18.1 #global snapver rc1 -%global baserelease 2 +%global baserelease 3 %global sover 9 %global srcver %{rpmver}%{?snapver:-%{snapver}} @@ -156,8 +156,8 @@ Summary: Libraries for manipulating RPM packages License: GPLv2+ and LGPLv2+ with exceptions Requires(meta): %{name} = %{version}-%{release} %if %{with sequoia} -# >= 1.2.0 required for v3 signature support -Requires: rpm-sequoia%{_isa} >= 1.2.0 +# >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2() +Requires: rpm-sequoia%{_isa} >= 1.4.0 %endif %description libs @@ -618,6 +618,10 @@ fi %doc docs/librpm/html/* %changelog +* Tue Apr 25 2023 Miro HronĨok - 4.18.1-3 +- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid + rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2 + * Thu Apr 20 2023 Panu Matilainen - 4.18.1-2 - Backport improved crypto error messages from upstream