packages: mosh/mosh.spec - Compile with warnings as errors for extra securi...

caleb caleb at pld-linux.org
Mon Apr 23 13:34:34 CEST 2012


Author: caleb                        Date: Mon Apr 23 11:34:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Compile with warnings as errors for extra security per distributor advice on https://github.com/keithw/mosh

---- Files affected:
packages/mosh:
   mosh.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/mosh/mosh.spec
diff -u packages/mosh/mosh.spec:1.4 packages/mosh/mosh.spec:1.5
--- packages/mosh/mosh.spec:1.4	Sat Apr 21 22:51:52 2012
+++ packages/mosh/mosh.spec	Mon Apr 23 13:34:29 2012
@@ -3,7 +3,7 @@
 Summary:	Mosh mobile shell
 Name:		mosh
 Version:	1.1.3
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		X11/Applications
 Source0:	https://github.com/downloads/keithw/mosh/%{name}-%{version}.tar.gz
@@ -33,8 +33,10 @@
 
 %build
 %configure \
+	--enable-compile-warnings=error \
 	CPPFLAGS="-I/usr/include/ncurses"
-%{__make}
+%{__make} \
+	-Werror
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -60,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2012/04/23 11:34:29  caleb
+- Compile with warnings as errors for extra security per distributor advice on https://github.com/keithw/mosh
+
 Revision 1.4  2012/04/21 20:51:52  glen
 - seems working; rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mosh/mosh.spec?r1=1.4&r2=1.5



More information about the pld-cvs-commit mailing list