From 5d1b9297039ba6766622ee23c8b2784f01cf53f8 Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Mon, 8 Jul 2024 11:28:30 -0400
Subject: [PATCH] Use rpm-sequoia on RHEL 10+

RHEL 10 also has a sufficiently new RPM with rpm-sequoia enabled.
---
 librepo.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/librepo.spec b/librepo.spec
index 25dc741c..62035dce 100644
--- a/librepo.spec
+++ b/librepo.spec
@@ -8,7 +8,7 @@
 %bcond_without zchunk
 %endif
 
-%if 0%{?fedora} >= 39
+%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
 %bcond_with use_gpgme
 %bcond_with use_selinux
 %else