diff --git a/gnome-panel.spec b/gnome-panel.spec index 8e3bf00..a0897bf 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -23,7 +23,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.27.4 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-panel/2.27/%{name}-%{version}.tar.bz2 @@ -87,6 +87,7 @@ BuildRequires: librsvg2-devel BuildRequires: NetworkManager-devel BuildRequires: intltool BuildRequires: gettext-devel +BuildRequires: libtool Patch0: gnome-panel-2.23.4-vendor.patch Patch1: gnome-panel-2.10.1-speak-to-us-ye-old-wise-fish.patch @@ -182,6 +183,7 @@ cp -f %{SOURCE3} gnome-panel/panel-default-setup.entries cp -f %{SOURCE4} m4 cp -f %{SOURCE5} gnome-panel/panel-compatibility.schemas +libtoolize -f aclocal -I m4 automake autoconf @@ -201,6 +203,7 @@ done %build %configure \ + --disable-shave \ --disable-gtk-doc \ --disable-scrollkeeper \ %if %{use_evolution_data_server} @@ -209,6 +212,10 @@ done --enable-eds=no %endif +# drop unneeded direct library deps with --as-needed +# libtool doesn't make this easy, so we do it the hard way +sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + make %install @@ -371,6 +378,9 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Mon Jul 27 2009 Matthias Clasen 2.27.4-4 +- Drop unneeded direct deps + * Fri Jul 24 2009 Ray Strode 2.27.4-3 - Make my panels show up again on login (gnome bug 589632)