rpms/vinagre/devel vinagre-libs.patch, NONE, 1.1 vinagre.spec, 1.76, 1.77

Matthias Clasen mclasen at fedoraproject.org
Sun Jun 20 02:27:49 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/vinagre/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20736

Modified Files:
	vinagre.spec 
Added Files:
	vinagre-libs.patch 
Log Message:
reduce overlinking


vinagre-libs.patch:
 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE vinagre-libs.patch ---
diff -up vinagre-2.30.1/vinagre/Makefile.am.libs vinagre-2.30.1/vinagre/Makefile.am
--- vinagre-2.30.1/vinagre/Makefile.am.libs	2010-06-19 22:21:01.962179448 -0400
+++ vinagre-2.30.1/vinagre/Makefile.am	2010-06-19 22:20:00.708166738 -0400
@@ -135,7 +135,7 @@ vinagre_LDADD = \
 	$(GTKVNC_LIBS)		\
 	$(NULL)
 
-vinagre_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
+vinagre_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" -Wl,-O1,--as-needed
 
 if APPLET
 
@@ -210,7 +210,7 @@ vinagre_applet_LDADD =			\
 	$(VINAGRE_LIBS)			\
 	$(AVAHI_LIBS)			\
 	$(NULL)
-vinagre_applet_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
+vinagre_applet_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" -Wl,-O1,--as-needed
 
 endif
 


Index: vinagre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vinagre/devel/vinagre.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- vinagre.spec	27 May 2010 18:04:10 -0000	1.76
+++ vinagre.spec	20 Jun 2010 02:27:47 -0000	1.77
@@ -1,6 +1,6 @@
 Name:		vinagre
 Version:	2.30.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	VNC client for GNOME
 
 Group:		Applications/System
@@ -28,6 +28,9 @@ BuildRequires:  scrollkeeper
 # for /usr/share/dbus-1/services
 Requires: dbus
 
+Patch0: vinagre-libs.patch
+BuildRequires: automake autoconf libtool
+
 %description
 Vinagre is a VNC client for the GNOME desktop.
 
@@ -51,6 +54,9 @@ to vinagre.
 
 %prep
 %setup -q
+%patch0 -p1 -b .libs
+
+autoreconf -i -f
 
 %build
 %configure --enable-avahi=yes --disable-static
@@ -58,7 +64,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
 
@@ -95,9 +100,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/vinagre-1/p
 
 %find_lang vinagre --with-gnome
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post
 update-desktop-database -q
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
@@ -157,6 +159,9 @@ gtk-update-icon-cache %{_datadir}/icons/
 
 
 %changelog
+* Sat Jun 19 2010 Matthias Clasen <mclasen at redhat.com> 2.30.1-2
+- Reduce overlinking
+
 * Thu May 27 2010 Matthias Clasen <mclasen at redhat.com> 2.30.1-1
 - Update to 2.30.1
 



More information about the scm-commits mailing list