From 50f53d07f0bd574bed65c7cac279713b157fd454 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mar 26 2020 13:31:32 +0000 Subject: Disable AppShare server support on RHEL Neither RHEL 7 nor RHEL 8 has pkgconfig(freerdp-shadow2). No need to issue a build just for this. --- diff --git a/pidgin-sipe.spec b/pidgin-sipe.spec index d9377d9..3342170 100644 --- a/pidgin-sipe.spec +++ b/pidgin-sipe.spec @@ -10,7 +10,6 @@ Patch1: pidgin-sipe-1.25.0-fix-false-negative-configure-checks.patch BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(farstream-0.2) -BuildRequires: pkgconfig(freerdp-shadow2) BuildRequires: pkgconfig(gio-2.0) >= 2.18.0 BuildRequires: pkgconfig(glib-2.0) >= 2.18.0 BuildRequires: pkgconfig(gmodule-2.0) >= 2.18.0 @@ -31,6 +30,10 @@ BuildRequires: gssntlmssp-devel >= 0.5.0 BuildRequires: intltool BuildRequires: libtool +%if ! 0%{?rhel} +BuildRequires: pkgconfig(freerdp-shadow2) +%endif + Requires: purple-sipe = %{version}-%{release}