automatic version update by autodist [release 8.5-1mamba;Wed Jan 31 2024]

This commit is contained in:
Automatic Build System 2024-02-01 20:38:51 +01:00
parent 95a002109f
commit 02c81ce319

View File

@ -1,5 +1,5 @@
Name: gradle
Version: 8.3
Version: 8.5
Release: 1mamba
Summary: Powerful build system for the JVM
Group: Applications/Development
@ -36,9 +36,23 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description src
This package contains the apache server documentation in HTML format.
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
%prep
%setup -q
#-D -T
#:<< _EOF
#%patch0 -p1
# remove ADOPTIUM contraint from all build related files
sed -i '/JvmVendorSpec.ADOPTIUM/d' \
build-logic-commons/module-identity/build.gradle.kts \
build-logic-commons/gradle-plugin/build.gradle.kts \
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts \
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/commons/JavaPluginExtensions.kt \
build-logic-commons/code-quality-rules/build.gradle.kts \
build-logic-commons/basics/build.gradle.kts \
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadIntegrationTest.groovy
%ifarch %{ix86}
unzip %{SOURCE2}
@ -47,20 +61,24 @@ mv gradle-%{version} dist
%build
#:<< _EOF
#export PATH="%{_jvmdir}/java-11-openjdk/bin:${PATH}"
export JAVA_HOME="%{_jvmdir}/java-11-openjdk"
export PATH="%{_jvmdir}/java-11-openjdk/bin:${PATH}"
%ifnarch %{ix86}
./gradlew installAll \
-Porg.gradle.java.installations.auto-download=false \
-PfinalRelease=true \
-Pgradle_installPath="$(pwd)/dist"
-Pgradle_installPath="$(pwd)/dist" \
--no-configuration-cache
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_bindir}
install -d -m0755 %{buildroot}%{_javadir}/gradle/{lib/plugins,init.d}
install -d -m0755 %{buildroot}%{_javadir}/gradle/{lib/{plugins,agents},init.d}
install -D -m0644 dist/lib/*.jar %{buildroot}%{_javadir}/gradle/lib/
install -D -m0644 dist/lib/plugins/*.jar %{buildroot}%{_javadir}/gradle/lib/plugins
install -D -m 644 dist/lib/agents/*.jar %{buildroot}%{_javadir}/gradle/lib/agents
install -D -m0755 dist/bin/gradle %{buildroot}%{_javadir}/gradle/bin/gradle
install -m0644 dist/init.d/*.* %{buildroot}%{_javadir}/gradle/init.d/
@ -95,6 +113,8 @@ cp -r dist/src/* %{buildroot}%{_javadir}/gradle/src/
%{_datadir}/java/gradle/init.d/readme.txt
%dir %{_datadir}/java/gradle/lib
%{_datadir}/java/gradle/lib/*.jar
%dir %{_datadir}/java/gradle/lib/agents
%{_datadir}/java/gradle/lib/agents/*.jar
%dir %{_datadir}/java/gradle/lib/plugins
%{_datadir}/java/gradle/lib/plugins/*.jar
@ -111,6 +131,9 @@ cp -r dist/src/* %{buildroot}%{_javadir}/gradle/src/
%endif
%changelog
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 8.5-1mamba
- automatic version update by autodist
* Thu Aug 17 2023 Automatic Build System <autodist@mambasoft.it> 8.3-1mamba
- automatic version update by autodist