Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Jiri Vanek
ec0b345eaf Rebuilt for java-25-openjdk as preffered jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
Note, that since f43, you should be always explicit on what jdk to use.
This commit should do exactly that.
2025-07-30 01:22:25 +02:00
Fedora Release Engineering
1fdd38ec1d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:13:09 +00:00
Mikolaj Izdebski
3fc566ac89 Build with OpenJDK 25 2025-07-13 09:22:52 +02:00
Mikolaj Izdebski
1ae91a77b9 Switch javapackages test plan to f43 ref 2025-05-22 13:35:32 +02:00
Mikolaj Izdebski
e12be2f374 Switch to javapackages tests from CentOS Stream GitLab 2025-03-26 08:43:19 +01:00
Mikolaj Izdebski
40de6aa7f3 Remove javadoc subpackage 2025-03-03 12:54:13 +01:00
2 changed files with 6 additions and 13 deletions

View file

@ -1,7 +1,7 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: f42
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
ref: f43
execute:
how: tmt

View file

@ -22,7 +22,7 @@ Patch: 0002-Replace-bundled-jquery-with-CDN-link.patch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: maven-local-openjdk25
BuildRequires: mvn(com.beust:jcommander)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.inject:guice)
@ -30,6 +30,8 @@ BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif
# TODO Remove in Fedora 46
Obsoletes: %{name}-javadoc < 7.8.0-20
%description
TestNG is a testing framework inspired from JUnit and NUnit but introducing
@ -37,12 +39,6 @@ some new functionality, including flexible test configuration, and
distributed test running. It is designed to cover unit tests as well as
functional, end-to-end, integration, etc.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -C
@ -72,7 +68,7 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
%build
# Tests extend a class written in Kotlin
%mvn_build -f -- -Dmaven.compiler.release=11
%mvn_build -j -f -- -Dmaven.compiler.release=11
%install
%mvn_install
@ -81,8 +77,5 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
%doc CHANGES.txt README.md
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
%autochangelog