[packages/ruby-xtemplate] one more shebang fix

glen glen at pld-linux.org
Mon Aug 31 13:23:30 CEST 2015


commit 3e3baafd89d2cc9b0145e99bc281e04605a7eb6e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 31 14:23:21 2015 +0300

    one more shebang fix

 ruby-xtemplate.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ruby-xtemplate.spec b/ruby-xtemplate.spec
index be43ffa..bd73925 100644
--- a/ruby-xtemplate.spec
+++ b/ruby-xtemplate.spec
@@ -3,7 +3,7 @@ Summary:	An XML/XHTML template library for Ruby
 Summary(pl.UTF-8):	Biblioteka szablonów XML/XHTML dla języka Ruby
 Name:		ruby-%{pkgname}
 Version:	0.8.0
-Release:	6
+Release:	7
 License:	GPL
 Group:		Development/Libraries
 Source0:	http://downloads.sourceforge.net/xtemplate/%{pkgname}-%{version}.tar.gz
@@ -49,7 +49,7 @@ Dokumentacji w formacie ri dla %{pkgname}.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%{__sed} -i -re '1 s,#!.*ruby(-1.8)?,#!%{__ruby},' bin/*
 
 %build
 rdoc --ri --op ri lib
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-xtemplate.git/commitdiff/3e3baafd89d2cc9b0145e99bc281e04605a7eb6e



More information about the pld-cvs-commit mailing list