SHA256
1
0
forked from pool/bitlbee

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
This commit is contained in:
Pascal Bleser 2011-03-08 23:40:49 +00:00 committed by Git OBS Bridge
parent 9c6969269d
commit a590498327

View File

@ -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 \