From e0a3546a1ebb42ceac9a3debfb30577bcc0a2bfd Mon Sep 17 00:00:00 2001
From: eabdullin <ed.abdullin.1@gmail.com>
Date: Mon, 22 Apr 2024 17:51:39 +0300
Subject: [PATCH] Add Obsoletes to thunderbird-librnp-rnp package

---
 SPECS/thunderbird.spec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/SPECS/thunderbird.spec b/SPECS/thunderbird.spec
index 7ce22eb..c2a42a5 100644
--- a/SPECS/thunderbird.spec
+++ b/SPECS/thunderbird.spec
@@ -890,6 +890,9 @@ Provides: bundled(crate(xpcom)) = 0.1.0
 Provides: bundled(crate(xpcom_macros)) = 0.1.0
 Provides: bundled(crate(zeitstempel)) = 0.1.1
 
+%if %{?use_openssl_for_librnp}
+Obsoletes: thunderbird-librnp-rnp < %{version}-%{release}
+%endif
 
 %description
 Mozilla Thunderbird is a standalone mail and newsgroup client.
-- 
2.43.5