Build and test with OpenJDK 8
This commit is contained in:
parent
1161018206
commit
1e6e27c6e6
|
@ -0,0 +1 @@
|
||||||
|
fc2d43993feb32878e0e63cb44b7832a62ff9abc JCTools-3.3.0.tar.gz
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: jctools
|
Name: jctools
|
||||||
Version: 3.3.0
|
Version: 3.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Java Concurrency Tools for the JVM
|
Summary: Java Concurrency Tools for the JVM
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local-openjdk8
|
||||||
BuildRequires: mvn(com.google.guava:guava-testlib)
|
BuildRequires: mvn(com.google.guava:guava-testlib)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
@ -106,6 +106,9 @@ rm -r jctools-core/src/test/java/org/jctools/maps/linearizability_test/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 23 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-3
|
||||||
|
- Build with OpenJDK 8
|
||||||
|
|
||||||
* Mon Feb 21 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-2
|
* Mon Feb 21 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-2
|
||||||
- Remove dependency on javaparser and exec-maven-plugin
|
- Remove dependency on javaparser and exec-maven-plugin
|
||||||
- Disable tests
|
- Disable tests
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
summary: Basic smoke test
|
summary: Basic smoke test
|
||||||
prepare:
|
prepare:
|
||||||
how: install
|
how: install
|
||||||
package: java-devel
|
package: java-1.8.0-openjdk-devel
|
||||||
execute:
|
execute:
|
||||||
script:
|
script:
|
||||||
- javac -cp /usr/share/java/jctools/jctools-core.jar plans/Smoke.java
|
- /usr/lib/jvm/java-1.8.0-openjdk/bin/javac -cp /usr/share/java/jctools/jctools-core.jar plans/Smoke.java
|
||||||
- java -cp /usr/share/java/jctools/jctools-core.jar:plans Smoke
|
- /usr/lib/jvm/java-1.8.0-openjdk/bin/java -cp /usr/share/java/jctools/jctools-core.jar:plans Smoke
|
||||||
|
|
Loading…
Reference in New Issue