rpms/gdm/devel gdm.spec,1.478,1.479

Matthias Clasen mclasen at fedoraproject.org
Sun Aug 2 03:11:58 UTC 2009


Author: mclasen

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

Modified Files:
	gdm.spec 
Log Message:
drop unneded direct deps



Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.478
retrieving revision 1.479
diff -u -p -r1.478 -r1.479
--- gdm.spec	24 Jul 2009 18:44:17 -0000	1.478
+++ gdm.spec	2 Aug 2009 03:11:55 -0000	1.479
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.27.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -163,7 +163,12 @@ cp -f %{SOURCE9} gui/simple-greeter/plug
 	   --disable-scrollkeeper  \
 	   --with-console-kit      \
 	   --with-selinux
-make
+
+# 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}
 
 # strip unneeded translations from .mo files
 # ideally intltool (ha!) would do that for us
@@ -385,6 +390,9 @@ fi
 %{_libdir}/gdm/simple-greeter/plugins/fingerprint.so
 
 %changelog
+* Sat Aug  1 2009 Matthias Clasen <mclasen at redhat.com> 1:2.27.4-4
+- Drop unneeded direct deps
+
 * Fri Jul 24 2009 Ray Strode <rstrode at redhat.com> 1:2.27.4-3
 - Fix delay during login
 




More information about the scm-commits mailing list