packages: springenwerk/springenwerk.spec - setup shebangs

glen glen at pld-linux.org
Tue Jan 25 18:07:46 CET 2011


Author: glen                         Date: Tue Jan 25 17:07:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- setup shebangs

---- Files affected:
packages/springenwerk:
   springenwerk.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/springenwerk/springenwerk.spec
diff -u packages/springenwerk/springenwerk.spec:1.1 packages/springenwerk/springenwerk.spec:1.2
--- packages/springenwerk/springenwerk.spec:1.1	Tue Jan 25 17:57:22 2011
+++ packages/springenwerk/springenwerk.spec	Tue Jan 25 18:07:41 2011
@@ -2,12 +2,13 @@
 Summary:	Cross Site Scripting (XSS) security scanner, written in Python
 Name:		springenwerk
 Version:	0.4.5
-Release:	0.1
+Release:	0.2
 License:	BSD-like
 Group:		Applications/WWW
 Source0:	http://www.hacktoolrepository.com/files/Web%20applications/Springenwerk/%{name}-%{version}.tar.gz
 # Source0-md5:	ca1d8236ff7701f7a2732002c22b6b1e
 URL:		http://www.springenwerk.com/
+BuildRequires:	sed >= 4.0
 Requires:	python >= 1:2.4.0
 Requires:	python-BeautifulSoup
 Requires:	python-modules
@@ -42,6 +43,9 @@
 %prep
 %setup -q
 
+# add python shebang
+%{__sed} -i -e '1i#!%{__python}' *.py
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
@@ -66,5 +70,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/01/25 17:07:41  glen
+- setup shebangs
+
 Revision 1.1  2011/01/25 16:57:22  glen
 - new
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/springenwerk/springenwerk.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list