From 1df02179adaa38e8113a639d62eec54200697da0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jul 27 2009 19:00:43 +0000 Subject: Drop unneeded deps --- diff --git a/seahorse.spec b/seahorse.spec index 1b3ad5d..0be1196 100644 --- a/seahorse.spec +++ b/seahorse.spec @@ -1,6 +1,6 @@ Name: seahorse Version: 2.27.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A GNOME application for managing encryption keys Group: User Interface/Desktops # seahorse is GPLv2+ @@ -62,6 +62,11 @@ library that belongs to seahorse. %build GNUPG=/usr/bin/gpg2 ; export GNUPG ; %configure --disable-scrollkeeper + +# 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 %{?_smp_mflags} # cleanup permissions for files that go into debuginfo find . -type f -name "*.c" -exec chmod a-x {} ';' @@ -158,6 +163,9 @@ fi %{_datadir}/gtk-doc/html/libcryptui %changelog +* Mon Jul 27 2009 Matthias Clasen - 2.27.1-4 +- Drop unneeded direct deps + * Sun Jul 26 2009 Fedora Release Engineering - 2.27.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild