rpms/gok/devel gok.spec,1.78,1.79

Matthias Clasen mclasen at fedoraproject.org
Sat Jun 13 04:37:37 UTC 2009


Author: mclasen

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

Modified Files:
	gok.spec 
Log Message:
Drop unneeded direct deps



Index: gok.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gok/devel/gok.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -p -r1.78 -r1.79
--- gok.spec	31 May 2009 22:50:59 -0000	1.78
+++ gok.spec	13 Jun 2009 04:37:06 -0000	1.79
@@ -3,7 +3,7 @@
 Summary: GNOME Onscreen Keyboard
 Name: gok
 Version: 2.27.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: User Interface/Desktops
 URL: http://www.gok.ca/
@@ -71,6 +71,11 @@ chmod a-x help/gok/C/legal.xml
 
 %build
 %configure
+
+# 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}
 
 iconv -f latin1 -t utf-8 NEWS > NEWSx && mv NEWSx NEWS
@@ -143,6 +148,9 @@ scrollkeeper-update -q
 %{_datadir}/gtk-doc/html/gok
 
 %changelog
+* Sat Jun 13 2009 Matthias Clasen <mclasen at redhat.com> 2.27.2-2
+- Drop unneeded direct dependencies
+
 * Sun May 31 2009 Matthias Clasen <mclasen at redhat.com> 2.27.2-1
 - Update to 2.27.2
 - http://download.gnome.org/sources/gok/2.27/gok-2.27.2.news




More information about the fedora-extras-commits mailing list