SPECS: urxvt.spec - added link patch to kill unnecessary -lnsl - a...

qboosh qboosh at pld-linux.org
Mon Dec 26 17:33:51 CET 2005


Author: qboosh                       Date: Mon Dec 26 16:33:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added link patch to kill unnecessary -lnsl
- ac cleanup, release 2

---- Files affected:
SPECS:
   urxvt.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/urxvt.spec
diff -u SPECS/urxvt.spec:1.25 SPECS/urxvt.spec:1.26
--- SPECS/urxvt.spec:1.25	Mon Dec 19 00:03:28 2005
+++ SPECS/urxvt.spec	Mon Dec 26 17:33:46 2005
@@ -3,13 +3,14 @@
 Summary(pl):	Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
 Name:		urxvt
 Version:	5.9
-Release:	1
+Release:	2
 Group:		X11/Applications
 License:	GPL
 Source0:	http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
 # Source0-md5:	c160e8199d71324d789657c6d1092a4e
 Source1:	%{name}.desktop
-URL:		http://software.schmorp.de
+Patch0:		%{name}-link.patch
+URL:		http://software.schmorp.de/
 BuildRequires:	XFree86-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -36,14 +37,16 @@
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
-sed -i -e 's|-O3||' autoconf/configure.in
+%patch0 -p1
+
+rm -f autoconf/libtool.m4
+ln -sf autoconf/configure.in .
+
 %build
-mv -f autoconf/{configure.in,xpm.m4} .
 %{__libtoolize}
-%{__aclocal} -I .
+%{__aclocal} -I autoconf
 %{__autoheader}
 %{__autoconf}
-%{__automake} || :
 %configure \
 	--enable-shared \
 	--disable-static \
@@ -59,7 +62,7 @@
 	--enable-256-color \
 	--enable-24bit
 %{__make} \
-	CPPFLAGS="$CPPFLAGS %{rpmcflags}"
+	CFLAGS="%{rpmcxxflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2005/12/26 16:33:46  qboosh
+- added link patch to kill unnecessary -lnsl
+- ac cleanup, release 2
+
 Revision 1.25  2005/12/18 23:03:28  freetz
 - 5.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/urxvt.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list