rpms/seahorse/devel seahorse.spec,1.73,1.74

Matthias Clasen mclasen at fedoraproject.org
Mon Jul 27 19:00:44 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/seahorse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4652

Modified Files:
	seahorse.spec 
Log Message:
Drop unneeded deps



Index: seahorse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/seahorse/devel/seahorse.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -p -r1.73 -r1.74
--- seahorse.spec	27 Jul 2009 04:05:23 -0000	1.73
+++ seahorse.spec	27 Jul 2009 19:00:43 -0000	1.74
@@ -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 <mclasen at redhat.com> - 2.27.1-4
+- Drop unneeded direct deps
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.27.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list