diff --git a/irssi.changes b/irssi.changes index e92bf34..fcad5ba 100644 --- a/irssi.changes +++ b/irssi.changes @@ -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 diff --git a/irssi.spec b/irssi.spec index b6738fa..dd8f0cc 100644 --- a/irssi.spec +++ b/irssi.spec @@ -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}