fix build on suse dists without libpurple-devel
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=11
This commit is contained in:
parent
9ff70079f4
commit
9c6969269d
@ -27,7 +27,9 @@ BuildRequires: fdupes
|
||||
%if 0%{?with_libotr:1}
|
||||
BuildRequires: libotr-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1030
|
||||
BuildRequires: libpurple-devel
|
||||
%endif
|
||||
PreReq: /usr/sbin/groupadd /usr/sbin/useradd
|
||||
|
||||
%description
|
||||
@ -95,7 +97,11 @@ CXXFLAGS="%{optflags} -fno-strict-aliasing" \
|
||||
--pidfile="%{_localstatedir}/run/%{name}.pid" \
|
||||
--config="%{_localstatedir}/lib/%{name}" \
|
||||
--ipcsocket="%{_localstatedir}/run/%{name}.sock" \
|
||||
%if 0%{?suse_version} >= 1030
|
||||
--purple=1 \
|
||||
%else
|
||||
--purple=0 \
|
||||
%endif
|
||||
%if 0%{?with_libotr:1}
|
||||
--otr=1 \
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user