Accepting request 248206 from server:irc

- add conditional to enable socks support but disable by default.
  unless we can find a way to have socks support so it works
  without an existing socks.conf.

OBS-URL: https://build.opensuse.org/request/show/248206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irssi?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2014-09-10 05:28:41 +00:00 committed by Git OBS Bridge
commit 0f9cf23483
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 4 15:31:08 UTC 2014 - mrueckert@suse.de
- add conditional to enable socks support but disable by default.
unless we can find a way to have socks support so it works
without an existing socks.conf.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 29 16:16:01 UTC 2014 - mrueckert@suse.de Tue Jul 29 16:16:01 UTC 2014 - mrueckert@suse.de

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_with socks
Name: irssi Name: irssi
Version: 0.8.16 Version: 0.8.16
@ -23,9 +24,11 @@ Release: 0
# #
# #
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with socks}
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
BuildRequires: dante-devel BuildRequires: dante-devel
%endif %endif
%endif
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
@ -112,8 +115,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNI
--enable-ipv6 \ --enable-ipv6 \
--with-bot \ --with-bot \
--with-proxy \ --with-proxy \
--with-socks \
--enable-ssl \ --enable-ssl \
%if %{with socks}
--with-socks \
%endif
--with-ncurses \ --with-ncurses \
--with-terminfo \ --with-terminfo \
--with-perl=yes \ --with-perl=yes \