|
|
|
@ -1,9 +1,12 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: testng
|
|
|
|
|
Version: 7.0.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 7.4.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Java-based testing framework
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: http://testng.org/
|
|
|
|
|
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
@ -17,16 +20,19 @@ Patch0: 0001-Avoid-accidental-javascript-in-javadoc.patch
|
|
|
|
|
Patch1: 0002-Replace-bundled-jquery-with-CDN-link.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(com.beust:jcommander)
|
|
|
|
|
BuildRequires: mvn(com.google.inject:guice)
|
|
|
|
|
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
|
|
|
|
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
|
|
BuildRequires: mvn(org.apache-extras.beanshell:bsh)
|
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
|
|
|
@ -61,7 +67,9 @@ find -name *.class -delete
|
|
|
|
|
rm src/main/java/org/testng/internal/Yaml*.java
|
|
|
|
|
rm src/main/java/org/testng/Converter.java
|
|
|
|
|
|
|
|
|
|
# missing test deps
|
|
|
|
|
%pom_remove_dep :bsh
|
|
|
|
|
|
|
|
|
|
%pom_xpath_inject "pom:dependency[pom:artifactId='guice']" "<classifier>no_aop</classifier>"
|
|
|
|
|
|
|
|
|
|
sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java
|
|
|
|
|
|
|
|
|
@ -85,8 +93,48 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 07 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 7.0.0-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 7.4.0-3
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 08 2021 Marian Koncek <mkoncek@redhat.com> - 7.4.0-1
|
|
|
|
|
- Update to upstream version 7.4.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.3.0-2
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 30 2020 Marian Koncek <mkoncek@redhat.com> - 7.3.0-1
|
|
|
|
|
- Update to upstream version 7.3.0
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.2.0~SNAPSHOT-1
|
|
|
|
|
- Update to upstream version 7.2.0~SNAPSHOT
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.1.1-1
|
|
|
|
|
- Update to upstream version 7.1.1
|
|
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 6.14.3-12
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Wed Feb 19 2020 Fabio Valentini <decathorpe@gmail.com> - 6.14.3-11
|
|
|
|
|
- Drop unnecessary dependency on parent POM.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
@ -97,12 +145,24 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
|
|
|
|
|
* Wed Aug 14 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0~beta7-1
|
|
|
|
|
- Update to upstream version 7.0.0~beta7
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2019 Fabio Valentini <decathorpe@gmail.com> - 6.14.3-8
|
|
|
|
|
- Disable groovy support by default.
|
|
|
|
|
|
|
|
|
|
* Thu Jun 06 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0~beta4-1
|
|
|
|
|
- Update to upstream version 7.0.0~beta4
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.14.3-6
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 13 2018 Mat Booth <mat.booth@redhat.com> - 6.14.3-6
|
|
|
|
|
- Fix test suite execution
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 6.14.3-5
|
|
|
|
|
- Clean tarball from binaries
|
|
|
|
|
- Replace bundled jquery with CDN link
|