From 1a5952a8f80d40e3877c152f745742f4d3c6f4e3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 15 Jul 2008 19:02:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/anjuta?expand=0&rev=19 --- anjuta.changes | 7 +++++++ anjuta.spec | 15 ++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/anjuta.changes b/anjuta.changes index 1dba659..f76a02a 100644 --- a/anjuta.changes +++ b/anjuta.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 15 13:51:51 CEST 2008 - coolo@suse.de + +- removing linking against shared bfd library, this makes updating + bintuils impossible. If there is a bug in the static library, + it should be fixed there + ------------------------------------------------------------------- Wed Apr 2 14:41:43 CEST 2008 - vuntz@suse.de diff --git a/anjuta.spec b/anjuta.spec index 9f056e0..a52077a 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -22,7 +22,7 @@ Requires: autogen Requires: automake autoconf libtool gettext alsa-devel audiofile devhelp esound-devel gconf2-devel gnome-terminal gnome-vfs2-devel libart_lgpl-devel libbonobo-devel libbonoboui-devel libglade2-devel libgnome-devel libgnomecanvas-devel libgnomeui-devel libwnck-devel libxml2-devel openssl-devel orbit2-devel popt-devel libgnomeprint-devel libgnomeprintui-devel yelp gnome-doc-utils Recommends: gconf2-doc gnome-vfs2-doc libbonobo-doc libbonoboui-doc libglade2-doc libgnome-doc libgnomecanvas-doc libgnomeui-doc libgnomeprint-doc libgnomeprintui-doc Version: 2.4.0 -Release: 1 +Release: 34 Requires: %{name}-lang = %{version} Summary: GNOME IDE for C and C++ Source: anjuta-%{version}.tar.bz2 @@ -110,14 +110,7 @@ Authors: %patch1 -p1 %patch3 cp -a %{S:1} . -# FIXME: Ugly hack! -# libbfd has two instances: -# - static library, which is not compiled with PIC and is unusable for -# shared libanjuta library. -# - dynamic library, which is binutils version specific. -# We have to use dynamic library and make libanjuta dependent on -# specific version of binutils. -sed -i "s/-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic/-l$(echo /usr/%{_lib}/libbfd*.so | sed 's:.*/lib::;s/\.so//') -Wl,-Bstatic -liberty -Wl,-Bdynamic/" configure.in +#sed -i "s/-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic/-l$(echo /usr/%{_lib}/libbfd*.so | sed 's:.*/lib::;s/\.so//') -Wl,-Bstatic -liberty -Wl,-Bdynamic/" configure.in %build autoreconf -f -i @@ -205,6 +198,10 @@ fi %files lang -f %name.lang %changelog +* Tue Jul 15 2008 coolo@suse.de +- removing linking against shared bfd library, this makes updating + bintuils impossible. If there is a bug in the static library, + it should be fixed there * Wed Apr 02 2008 vuntz@suse.de - Remove -fno-strict-aliasing - Add gdl-devel to Requires for the devel package