- add BR for xz to fix build on sle11

- switch to %{?_smp_mflags}
- pass --disable-silent-rules to get verbose makefiles again

OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=70
This commit is contained in:
2016-09-21 22:15:37 +00:00
committed by Git OBS Bridge
parent 3fff2fa8e2
commit 337b5c1875
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
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
@@ -111,6 +112,7 @@ export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS -fPIE"
export LDFLAGS="-pie"
%configure \
--disable-silent-rules \
--enable-ipv6 \
--with-bot \
--with-proxy \
@@ -124,10 +126,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}