devel/putty putty.spec,1.8,1.9

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Wed Mar 30 11:25:18 UTC 2005


Author: adrian

Update of /cvs/extras/devel/putty
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6087

Modified Files:
	putty.spec 
Log Message:
fix build with gcc4



Index: putty.spec
===================================================================
RCS file: /cvs/extras/devel/putty/putty.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- putty.spec	3 Mar 2005 23:53:13 -0000	1.8
+++ putty.spec	30 Mar 2005 11:25:16 -0000	1.9
@@ -1,6 +1,6 @@
 Name:		putty
 Version:	0.57
-Release:	1
+Release:	2
 Summary:	SSH, Telnet and Rlogin client
 License:	MIT
 Group:		Applications/Internet
@@ -23,7 +23,9 @@
 %build
 ./mkfiles.pl
 pushd unix
-perl -pi -e "s,-O2,$RPM_OPT_FLAGS,g;s,/usr/local,%{_prefix},g" Makefile.gtk
+%{__sed} -i -e "s/-O2 -Wall -Werror/$RPM_OPT_FLAGS/g" \
+            -e "s,/usr/local,%{_prefix},g" \
+            Makefile.gtk
 ln -s Makefile.gtk Makefile
 make %{?_smp_mflags}
 popd
@@ -62,6 +64,9 @@
 
 
 %changelog
+* Tue Feb 29 2005 Adrian Reber <adrian at lisas.de> - 0.57-2
+- fix build with gcc4
+
 * Mon Feb 21 2005 Adrian Reber <adrian at lisas.de> - 0.57-1
 - Updated to 0.57
 




More information about the fedora-extras-commits mailing list