packages: fromcvs/fromcvs.spec - fix shebang

glen glen at pld-linux.org
Tue Feb 8 00:50:53 CET 2011


Author: glen                         Date: Mon Feb  7 23:50:53 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix shebang

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

---- Diffs:

================================================================
Index: packages/fromcvs/fromcvs.spec
diff -u packages/fromcvs/fromcvs.spec:1.1 packages/fromcvs/fromcvs.spec:1.2
--- packages/fromcvs/fromcvs.spec:1.1	Tue Feb  8 00:46:43 2011
+++ packages/fromcvs/fromcvs.spec	Tue Feb  8 00:50:48 2011
@@ -2,12 +2,13 @@
 Summary:	Fast (incremental) CVS->* conversion
 Name:		fromcvs
 Version:	0.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		Development
 Source0:	http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs/archive/tip.tar.bz2#/%{name}.tbz2
 # Source0-md5:	65a791705a1f6a7b5fd718c1af76695e
 URL:		http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs/
+BuildRequires:	sed >= 4.0
 Requires:	ruby >= 1.8.5
 Requires:	ruby-rbtree
 Requires:	ruby-rcsparse
@@ -27,6 +28,10 @@
 %setup -qc
 mv %{name}-*/* .
 
+# setup shebang
+%{__sed} -i -e '1i#!%{__ruby}' to*.rb
+chmod a+rx to*.rb
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{ruby_vendorlibdir}}
@@ -53,5 +58,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/02/07 23:50:48  glen
+- fix shebang
+
 Revision 1.1  2011/02/07 23:46:43  glen
 - new
================================================================

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



More information about the pld-cvs-commit mailing list