commit a265a973bebd31b4f63e220814b23cf4cb05198a
Author: Vasiliy Glazov <v.glazov(a)1440.space>
Date: Wed Jul 3 11:00:56 2024 +0300
Fix build with openssl engine in the separate package.
telegram-desktop.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index ef49d40..26a92f5 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -62,7 +62,11 @@ BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libxxhash)
+%if 0%{?fedora} < 41
BuildRequires: pkgconfig(openssl)
+%else
+BuildRequires: openssl-devel-engine
+%endif
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(protobuf-lite)