From 24d4d35226d048c880c6c9e53b0888c177dad8f4 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sat, 25 Jan 2020 14:40:08 +0100 Subject: [PATCH] Build with OpenJDK 8 --- atinject.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/atinject.spec b/atinject.spec index d112e7d..0d66060 100644 --- a/atinject.spec +++ b/atinject.spec @@ -1,6 +1,6 @@ Name: atinject Version: 1 -Release: 30.20100611svn86%{?dist} +Release: 31.20100611svn86%{?dist} Summary: Dependency injection specification for Java (JSR-330) License: ASL 2.0 URL: http://code.google.com/p/atinject/ @@ -22,7 +22,7 @@ Source3: http://www.apache.org/licenses/LICENSE-2.0.txt Patch0: %{name}-target-1.6.patch BuildRequires: javapackages-local -BuildRequires: java-devel +BuildRequires: java-1.8.0-openjdk-devel BuildRequires: junit %description @@ -66,6 +66,7 @@ set -e alias rm=: alias xargs=: alias javadoc='javadoc -Xdoclint:none' +export PATH="%{_jvmlibdir}/java-1.8.0-openjdk/bin:${PATH}" . ./build.sh # Inject OSGi manifests required by Eclipse. @@ -86,6 +87,9 @@ mv build/tck/javadoc build/javadoc/tck %files tck -f .mfiles-tck %changelog +* Sat Jan 25 2020 Mikolaj Izdebski - 1-31.20100611svn86 +- Build with OpenJDK 8 + * Tue Nov 05 2019 Mikolaj Izdebski - 1-30.20100611svn86 - Mass rebuild for javapackages-tools 201902