SPECS: metasploit3.spec - leave shebang chunks out of patch

glen glen at pld-linux.org
Fri Jul 25 00:03:51 CEST 2008


Author: glen                         Date: Thu Jul 24 22:03:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- leave shebang chunks out of patch

---- Files affected:
SPECS:
   metasploit3.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/metasploit3.spec
diff -u SPECS/metasploit3.spec:1.6 SPECS/metasploit3.spec:1.7
--- SPECS/metasploit3.spec:1.6	Thu Jul 24 23:46:53 2008
+++ SPECS/metasploit3.spec	Fri Jul 25 00:03:45 2008
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Metasploit Framework - narzędzie wspomagające testy penetracyjne
 Name:		metasploit3
 Version:	3.1
-Release:	0.6
+Release:	0.7
 License:	MFL v1.2+
 Group:		Applications
 Source0:	http://spool.metasploit.com/releases/framework-%{version}.tar.gz
@@ -49,11 +49,17 @@
 %prep
 %setup -q -n framework-%{version}
 find -name .svn -type d -print0 | xargs -0 rm -rf
-%patch0 -p1
 egrep -rl '/usr/local/bin/ruby|/usr/bin/env' . | xargs %{__sed} -i -e '
 	1s,#!.*/bin/ruby,#!/usr/bin/ruby,
 	1s,#!/usr/bin/env ruby,#!/usr/bin/ruby,
 '
+%patch0 -p1
+
+# cleanup backups after patching
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
+# win32 binary with source
+rm -rf tools/memdump
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -101,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/07/24 22:03:45  glen
+- leave shebang chunks out of patch
+
 Revision 1.6  2008/07/24 21:46:53  glen
 - there are other arch templates too
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/metasploit3.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list