public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Domonkos <mdomonko@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Drop build option for legacy OpenPGP parser
Date: Mon, 23 Nov 2026 09:35:43 GMT	[thread overview]
Message-ID: <179542654342.1.11977397897301726498.rpms-rpm-5cb8f6e51828@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 5cb8f6e518286edf1b2aceeba255f8f0653dfd9b
            Author : Michal Domonkos <mdomonko@redhat.com>
            Date   : 2024-12-11T14:31:48+01:00
            Stats  : +1/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/5cb8f6e518286edf1b2aceeba255f8f0653dfd9b?branch=pmatilai-v6

            Log:
            Drop build option for legacy OpenPGP parser

The legacy OpenPGP parser was still a comparable alternative to Sequoia
back when the latter was introduced as a build option but as it matured
over time, we have eventually moved the legacy parser into a standalone
repo, making it unsupported by the RPM project, so update the spec to
reflect that.

Note that it's still possible to build without Sequoia but that just
means "without signature verification support" which is not something we
need/want to support here, either.

Fixes: #2239780

---
diff --git a/rpm.spec b/rpm.spec
index 2dbd4ad..8748684 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,8 +20,6 @@
 %bcond_without sqlite
 # build with bdb_ro support?
 %bcond_without bdb_ro
-# build with sequoia crypto?
-%bcond_without sequoia
 
 # https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
 %bcond merged_sbin 0
@@ -102,14 +100,7 @@ BuildRequires: pandoc
 BuildRequires: doxygen
 %endif
 
-
-%if %{with sequoia}
-%global crypto sequoia
 BuildRequires: rpm-sequoia-devel >= 1.4.0
-%else
-%global crypto openssl
-BuildRequires: openssl-devel
-%endif
 
 # Couple of patches change makefiles so, require for now...
 BuildRequires: automake libtool
@@ -171,12 +162,10 @@ the package like its version, a description, etc.
 Summary:  Libraries for manipulating RPM packages
 License:  GPL-2.0-or-later OR LGPL-2.1-or-later
 Requires(meta): %{name} = %{version}-%{release}
-%if %{with sequoia}
 # >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
 Requires: rpm-sequoia%{_isa} >= 1.4.0
 # Most systems should have a central package operations log
 Recommends: rpm-plugin-audit
-%endif
 
 %description libs
 This package contains the RPM shared libraries.
@@ -391,8 +380,6 @@ cmake \
       %{?with_libimaevm:-DWITH_IMAEVM=ON} \
       %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
       %{!?with_check:-DENABLE_TESTSUITE=OFF} \
-      %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
-      %{!?with_sequoia:-DWITH_OPENSSL=ON } \
       -DRPM_VENDOR=redhat \
   ..
 
@@ -659,6 +646,7 @@ fi
 
 %changelog
 * Tue Dec 10 2024 Michal Domonkos <mdomonko@redhat.com> - 4.20.0-2
+- Drop build option for legacy OpenPGP parser (#2239780)
 - Fix Python examples directory ownership (#2279750)
 
 * Mon Oct 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.20.0-1

                 reply	other threads:[~2026-11-23  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542654342.1.11977397897301726498.rpms-rpm-5cb8f6e51828@fedoraproject.org \
    --to=mdomonko@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox