commit a843c0da2deb29e123e765f1fc349967123861d4
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Apr 15 16:08:57 2017 +0500
Use weak dependencies only on Fedora >= 24.
telegram-desktop.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 5e0158c..15e0746 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -27,6 +27,7 @@ Release: 1%{?dist}
License: GPLv3+ and GPLv3 and LGPLv3 and BSD and MIT
Group: Applications/Internet
URL:
https://github.com/telegramdesktop/%{appname}
+ExclusiveArch: i686 x86_64
Source0: %{url}/archive/v%{version}.tar.gz#/%{appname}-%{version}.tar.gz
Source1:
https://chromium.googlesource.com/external/gyp/+archive/%{commit1}.tar.gz...
@@ -39,8 +40,9 @@ Patch1: add_russian_locale.patch
Requires: hicolor-icon-theme
Requires: qt5-qtimageformats%{?_isa}
+%if 0%{?fedora} >= 24
Recommends: libappindicator-gtk3%{?_isa}
-ExclusiveArch: i686 x86_64
+%endif
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib