Accepting request 431499 from server:irc

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/431499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irssi?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2016-09-30 13:35:29 +00:00 committed by Git OBS Bridge
commit e2454e3a17
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Sep 21 22:24:11 UTC 2016 - mrueckert@suse.de
- disable PIE on sle11
-------------------------------------------------------------------
Wed Sep 21 22:07:13 UTC 2016 - mrueckert@suse.de
- add BR for xz to fix build on sle11
- switch to %{?_smp_mflags}
- pass --disable-silent-rules to get verbose makefiles again
-------------------------------------------------------------------
Wed Sep 21 20:23:55 UTC 2016 - meissner@suse.com

View File

@ -38,6 +38,7 @@ BuildRequires: update-desktop-files
BuildRequires: perl-macros
%endif
BuildRequires: perl
BuildRequires: xz
Conflicts: %{name}-snapshot
#
Url: http://www.irssi.org
@ -108,9 +109,16 @@ Authors:
%if 0%{?sles_version} == 9
export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
%endif
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS -fPIE"
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
%if 0%{?suse_version} > 1110
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="-pie"
%endif
%configure \
--disable-silent-rules \
--enable-ipv6 \
--with-bot \
--with-proxy \
@ -124,10 +132,10 @@ export LDFLAGS="-pie"
--enable-true-color \
--with-perl=yes \
--with-perl-lib=vendor
%__make %{?jobs:-j%{jobs}} all
%__make %{?_smp_mflags} all V=1
%install
%makeinstall docdir=%{_docdir}/%{name}
%makeinstall docdir=%{_docdir}/%{name} V=1
%perl_process_packlist
%__rm %{buildroot}%{_libdir}/irssi/modules/libirc_proxy.{a,la}