From 130adaa68755dcb5753fdde8e3bdc7a49f12bbb84efd26d70921b97c4b53d797 Mon Sep 17 00:00:00 2001 From: "C. Holm" Date: Wed, 7 Jan 2015 16:40:31 +0000 Subject: [PATCH] Accepting request 267002 from home:msmeissn:branches:server:irc - build with PIE OBS-URL: https://build.opensuse.org/request/show/267002 OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=61 --- irssi.changes | 5 +++++ irssi.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/irssi.changes b/irssi.changes index a159b03..d00ad73 100644 --- a/irssi.changes +++ b/irssi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 1 22:18:21 UTC 2015 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Fri Oct 17 13:23:08 UTC 2014 - mrueckert@suse.de diff --git a/irssi.spec b/irssi.spec index bf53f5f..ae9de7a 100644 --- a/irssi.spec +++ b/irssi.spec @@ -1,7 +1,7 @@ # # spec file for package irssi # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -112,7 +112,8 @@ 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" +export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS -fPIE" +export LDFLAGS="-pie" %configure \ --enable-ipv6 \ --with-bot \ @@ -141,9 +142,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNI %suse_update_desktop_file -r "%{name}" Network IRCClient %endif -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/irssi.conf