From a5904983273437195d0997fefe8e06460d4444d1ab44efcb99e7264496d28afa Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Tue, 8 Mar 2011 23:40:49 +0000 Subject: [PATCH] only enable purple backend on >= 11.2 as older dists have versions of libpurple that do not support proxy config OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=12 --- bitlbee.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitlbee.spec b/bitlbee.spec index 05e91c3..626b64a 100644 --- a/bitlbee.spec +++ b/bitlbee.spec @@ -27,7 +27,7 @@ BuildRequires: fdupes %if 0%{?with_libotr:1} BuildRequires: libotr-devel %endif -%if 0%{?suse_version} >= 1030 +%if 0%{?suse_version} >= 1120 BuildRequires: libpurple-devel %endif PreReq: /usr/sbin/groupadd /usr/sbin/useradd @@ -97,7 +97,7 @@ CXXFLAGS="%{optflags} -fno-strict-aliasing" \ --pidfile="%{_localstatedir}/run/%{name}.pid" \ --config="%{_localstatedir}/lib/%{name}" \ --ipcsocket="%{_localstatedir}/run/%{name}.sock" \ -%if 0%{?suse_version} >= 1030 +%if 0%{?suse_version} >= 1120 --purple=1 \ %else --purple=0 \