]> git.pld-linux.org Git - packages/gradle.git/blobdiff - gradle.spec
up to 5.0
[packages/gradle.git] / gradle.spec
index 95ce21867a8fdc2a815fc68a837f863f84771b4f..5cedbefe1781e9e119f24ba5519cdc4ed8398586 100644 (file)
@@ -1,16 +1,19 @@
 Summary:       Groovy based build system
 Name:          gradle
-Version:       3.4.1
+Version:       5.0
 Release:       1
 License:       Apache v2.0
 Group:         Development/Languages/Java
 Source0:       http://services.gradle.org/distributions/%{name}-%{version}-bin.zip
-# Source0-md5: ccfa2f8bbfd572dea495e17b0079ec03
+# Source0-md5: 3fe272a99252a94ed368f47cf3bbba41
 URL:           http://www.gradle.org/
+BuildRequires: rpmbuild(macros) >= 1.672
 Requires:      jdk >= 1.7
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define _noautoreq_java ClassDataVersion
+
 %description
 Gradle is a build system written in Groovy. It uses Groovy
 also as the language for its build scripts. It has a powerful
@@ -22,6 +25,8 @@ and the convenience of a build-by-convention behavior.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' bin/gradle
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
This page took 0.031575 seconds and 4 git commands to generate.