[packages/groovy] up to 2.5.9

atler atler at pld-linux.org
Thu Jan 16 23:56:46 CET 2020


commit af8f631486ae6aed185dec13ff2dc9cb57c41cca
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 16 23:56:13 2020 +0100

    up to 2.5.9
    
    - fixed shebangs

 groovy.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/groovy.spec b/groovy.spec
index e318a98..cfc66d9 100644
--- a/groovy.spec
+++ b/groovy.spec
@@ -4,12 +4,12 @@
 #
 Summary:	Dynamic language for the Java Platform
 Name:		groovy
-Version:	2.5.8
+Version:	2.5.9
 Release:	1
 License:	Apache v2.0
 Group:		Development/Languages/Java
 Source0:	https://dl.bintray.com/groovy/maven/apache-%{name}-binary-%{version}.zip
-# Source0-md5:	464fe2c0c8f5568ba71ef094daed5078
+# Source0-md5:	e02536f8635c9994f5d07e19bf26180e
 URL:		http://groovy-lang.org/
 %if %{with indy}
 Requires:	jdk >= 1.7
@@ -30,6 +30,10 @@ anywhere you can use Java.
 
 %prep
 %setup -q
+grep -rl /usr/bin/env bin | xargs sed -i -e '1{
+	s,^#!.*bin/env sh,#!%{__sh},
+	s,^#!.*bin/env bash,#!%{__bash},
+}'
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/groovy.git/commitdiff/af8f631486ae6aed185dec13ff2dc9cb57c41cca



More information about the pld-cvs-commit mailing list