|
|
fe43d5b |
%bcond_with bootstrap
|
|
|
95bdc13 |
|
|
|
07eedeb |
Name: testng
|
|
|
ab7282b |
Version: 7.4.0
|
|
|
82e3f86 |
Release: 3%{?dist}
|
|
|
07eedeb |
Summary: Java-based testing framework
|
|
|
1bc5a1e |
License: ASL 2.0
|
|
|
07eedeb |
URL: http://testng.org/
|
|
|
645e424 |
|
|
|
bf1d3be |
# ./generate-tarball.sh
|
|
|
bf1d3be |
Source0: %{name}-%{version}.tar.gz
|
|
|
a1ada49 |
|
|
|
a1ada49 |
# Allows building with maven instead of gradle
|
|
|
a1ada49 |
Source1: pom.xml
|
|
|
a1ada49 |
|
|
|
bf1d3be |
# Remove bundled binaries to make sure we don't ship anything forbidden
|
|
|
bf1d3be |
Source2: generate-tarball.sh
|
|
|
bf1d3be |
|
|
|
2f8a7de |
Patch0: 0001-Avoid-accidental-javascript-in-javadoc.patch
|
|
|
bf1d3be |
Patch1: 0002-Replace-bundled-jquery-with-CDN-link.patch
|
|
Jaromir Capik |
a1ad305 |
|
|
|
07eedeb |
BuildArch: noarch
|
|
|
cbd05ef |
ExclusiveArch: %{java_arches} noarch
|
|
Jaromir Capik |
a1ad305 |
|
|
|
54a6d3a |
%if %{with bootstrap}
|
|
|
54a6d3a |
BuildRequires: javapackages-bootstrap
|
|
|
54a6d3a |
%else
|
|
|
3d85135 |
BuildRequires: maven-local
|
|
|
93bf19d |
BuildRequires: mvn(com.beust:jcommander)
|
|
|
2fd71df |
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
|
|
c2b902c |
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
|
|
93bf19d |
BuildRequires: mvn(junit:junit)
|
|
|
93bf19d |
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
93bf19d |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
d672474 |
%endif
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
%description
|
|
|
5f0a9bc |
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
|
|
5f0a9bc |
some new functionality, including flexible test configuration, and
|
|
|
5f0a9bc |
distributed test running. It is designed to cover unit tests as well as
|
|
|
5f0a9bc |
functional, end-to-end, integration, etc.
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
%package javadoc
|
|
|
07eedeb |
Summary: API documentation for %{name}
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
%description javadoc
|
|
Jaromir Capik |
a1ad305 |
This package contains the API documentation for %{name}.
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
%prep
|
|
|
14cd4b7 |
%setup -q -n %{name}-%(echo %{version} | tr '~' '-')
|
|
|
5f0a9bc |
|
|
|
2f8a7de |
%patch0 -p1
|
|
|
bf1d3be |
%patch1 -p1
|
|
|
2f8a7de |
|
|
|
20ba641 |
sed 's/@VERSION@/%{version}/' %{SOURCE1} > pom.xml
|
|
|
a1ada49 |
|
|
|
e0085f7 |
# remove any bundled libs, but not test resources
|
|
|
e0085f7 |
find ! -path "*/test/*" -name *.jar -print -delete
|
|
|
93bf19d |
find -name *.class -delete
|
|
|
5f0a9bc |
|
|
|
93bf19d |
# these are unnecessary
|
|
|
2f0452e |
%pom_remove_plugin :maven-gpg-plugin
|
|
|
2f0452e |
%pom_remove_plugin :maven-source-plugin
|
|
|
93bf19d |
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
5f0a9bc |
|
|
|
d672474 |
%pom_remove_dep org.yaml:snakeyaml
|
|
|
d672474 |
rm src/main/java/org/testng/internal/Yaml*.java
|
|
|
d672474 |
rm src/main/java/org/testng/Converter.java
|
|
|
d672474 |
|
|
|
e5de902 |
%pom_remove_dep :bsh
|
|
|
a9f892b |
|
|
|
c2b902c |
%pom_xpath_inject "pom:dependency[pom:artifactId='guice']" "<classifier>no_aop</classifier>"
|
|
|
a9f892b |
|
|
|
a1ada49 |
sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java
|
|
|
5f0a9bc |
|
|
|
2c82f60 |
cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
|
|
|
2c82f60 |
|
|
|
2f0452e |
%mvn_file : %{name}
|
|
Stanislav Ochotnicky |
e6afc43 |
# jdk15 classifier is used by some other packages
|
|
Stanislav Ochotnicky |
e6afc43 |
%mvn_alias : :::jdk15:
|
|
Stanislav Ochotnicky |
e6afc43 |
|
|
Stanislav Ochotnicky |
e6afc43 |
%build
|
|
|
d672474 |
%mvn_build -f
|
|
|
5f0a9bc |
|
|
|
2f0452e |
%install
|
|
|
2f0452e |
%mvn_install
|
|
|
5f0a9bc |
|
|
|
2f0452e |
%files -f .mfiles
|
|
|
93bf19d |
%doc CHANGES.txt README.md
|
|
|
7e935e4 |
%license LICENSE.txt
|
|
Jaromir Capik |
a1ad305 |
|
|
|
2f0452e |
%files javadoc -f .mfiles-javadoc
|
|
|
7e935e4 |
%license LICENSE.txt
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
%changelog
|
|
|
82e3f86 |
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 7.4.0-3
|
|
|
82e3f86 |
- Rebuilt for java-17-openjdk as system jdk
|
|
|
82e3f86 |
|
|
|
3095c2e |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
|
|
|
3095c2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
3095c2e |
|
|
|
ab7282b |
* Mon Nov 08 2021 Marian Koncek <mkoncek@redhat.com> - 7.4.0-1
|
|
|
ab7282b |
- Update to upstream version 7.4.0
|
|
|
ab7282b |
|
|
|
376e2c8 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.0-3
|
|
|
376e2c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
376e2c8 |
|
|
|
c5d503e |
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.3.0-2
|
|
|
c5d503e |
- Bootstrap build
|
|
|
fe43d5b |
- Non-bootstrap build
|
|
|
c5d503e |
|
|
|
148fd20 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-14
|
|
|
148fd20 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
148fd20 |
|
|
|
c760b2e |
* Wed Sep 30 2020 Marian Koncek <mkoncek@redhat.com> - 7.3.0-1
|
|
|
c760b2e |
- Update to upstream version 7.3.0
|
|
|
c760b2e |
|
|
|
895c543 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-13
|
|
|
895c543 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
895c543 |
|
|
|
645e424 |
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.2.0~SNAPSHOT-1
|
|
|
645e424 |
- Update to upstream version 7.2.0~SNAPSHOT
|
|
|
645e424 |
|
|
|
b2bfe6b |
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.1.1-1
|
|
|
b2bfe6b |
- Update to upstream version 7.1.1
|
|
|
b2bfe6b |
|
|
|
443ce87 |
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 6.14.3-12
|
|
|
443ce87 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
443ce87 |
|
|
|
0b10f90 |
* Wed Feb 19 2020 Fabio Valentini <decathorpe@gmail.com> - 6.14.3-11
|
|
|
0b10f90 |
- Drop unnecessary dependency on parent POM.
|
|
|
0b10f90 |
|
|
|
ecbb737 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-10
|
|
|
ecbb737 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ecbb737 |
|
|
|
979ced6 |
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-2
|
|
|
979ced6 |
- Mass rebuild for javapackages-tools 201902
|
|
|
979ced6 |
|
|
|
20ba641 |
* Mon Sep 02 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0-1
|
|
|
20ba641 |
- Update to upstream version 7.0.0
|
|
|
20ba641 |
|
|
|
14cd4b7 |
* Wed Aug 14 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0~beta7-1
|
|
|
14cd4b7 |
- Update to upstream version 7.0.0~beta7
|
|
|
14cd4b7 |
|
|
|
3c38874 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-9
|
|
|
3c38874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3c38874 |
|
|
|
ff5d907 |
* Tue Jul 23 2019 Fabio Valentini <decathorpe@gmail.com> - 6.14.3-8
|
|
|
ff5d907 |
- Disable groovy support by default.
|
|
|
ff5d907 |
|
|
|
96bc748 |
* Thu Jun 06 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0~beta4-1
|
|
|
96bc748 |
- Update to upstream version 7.0.0~beta4
|
|
|
96bc748 |
|
|
|
8a4d08f |
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.14.3-6
|
|
|
8a4d08f |
- Mass rebuild for javapackages-tools 201901
|
|
|
8a4d08f |
|
|
|
5cac8ae |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-7
|
|
|
5cac8ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5cac8ae |
|
|
|
b9067e2 |
* Thu Dec 13 2018 Mat Booth <mat.booth@redhat.com> - 6.14.3-6
|
|
|
b9067e2 |
- Fix test suite execution
|
|
|
b9067e2 |
|
|
|
bf1d3be |
* Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 6.14.3-5
|
|
|
bf1d3be |
- Clean tarball from binaries
|
|
|
bf1d3be |
- Replace bundled jquery with CDN link
|
|
|
bf1d3be |
|
|
|
d672474 |
* Tue Jul 17 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.14.3-4
|
|
|
d672474 |
- Allow conditionally building without snakeyaml
|
|
|
d672474 |
|
|
|
934a405 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-3
|
|
|
934a405 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
934a405 |
|
|
|
9ea33b5 |
* Tue Mar 20 2018 Alexander Kurtakov <akurtako@redhat.com> 6.14.3-2
|
|
|
9ea33b5 |
- Bump maven pom version.
|
|
|
9ea33b5 |
|
|
|
4cf4fc7 |
* Tue Mar 20 2018 Alexander Kurtakov <akurtako@redhat.com> 6.14.3-1
|
|
|
4cf4fc7 |
- Update to upstream 6.14.3.
|
|
|
4cf4fc7 |
|
|
|
efd7977 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.12-3
|
|
|
efd7977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
efd7977 |
|
|
|
98433eb |
* Wed Aug 23 2017 Mat Booth <mat.booth@redhat.com> - 6.12-2
|
|
|
98433eb |
- Allow OSGi metadata to export all packages including internal ones
|
|
|
98433eb |
|
|
|
2fd71df |
* Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 6.12-1
|
|
|
2fd71df |
- Update to latest release of testng
|
|
|
2fd71df |
- Fixes classloading from ant rhbz#1475842
|
|
|
2fd71df |
|
|
|
260b75a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.11-2
|
|
|
260b75a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
260b75a |
|
|
|
a1ada49 |
* Tue Jul 04 2017 Mat Booth <mat.booth@redhat.com> - 6.11-1
|
|
|
a1ada49 |
- Update to latest upstream release
|
|
|
a1ada49 |
- Continue building with maven for now, instead of moving to gradle due to
|
|
|
a1ada49 |
rhbz#1467724
|
|
|
a1ada49 |
|
|
|
2f8a7de |
* Wed May 31 2017 Michael Simacek <msimacek@redhat.com> - 6.9.12-5
|
|
|
2f8a7de |
- Avoid accidental javascript in comment
|
|
|
2f8a7de |
|
|
|
1bc5a1e |
* Fri Feb 17 2017 Mat Booth <mat.booth@redhat.com> - 6.9.12-4
|
|
|
1bc5a1e |
- License correction
|
|
|
1bc5a1e |
|
|
|
5e7e764 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.12-3
|
|
|
5e7e764 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5e7e764 |
|
|
|
95bdc13 |
* Wed Feb 1 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.9.12-2
|
|
|
95bdc13 |
- Introduce build-conditional to allow building without groovy
|
|
|
95bdc13 |
|
|
|
a9f892b |
* Tue Nov 01 2016 Mat Booth <mat.booth@redhat.com> - 6.9.12-1
|
|
|
a9f892b |
- Update to upstream version 6.9.12
|
|
|
a9f892b |
- Avoid 'SNAPSHOT' in pom version to fix tests in testng-remote package
|
|
|
a9f892b |
|
|
|
07151c9 |
* Wed Apr 20 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.9.11-1
|
|
|
07151c9 |
- Update to upstream version 6.9.11
|
|
|
07151c9 |
|
|
|
35ca6cd |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.10-2
|
|
|
35ca6cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
35ca6cd |
|
|
|
e0085f7 |
* Fri Jan 08 2016 gil cattaneo <puntogil@libero.it> 6.9.10-1
|
|
|
e0085f7 |
- Update to 6.9.10
|
|
|
e0085f7 |
|
|
|
2c82f60 |
* Tue Oct 27 2015 gil cattaneo <puntogil@libero.it> 6.9.9-1
|
|
|
2c82f60 |
- Update to 6.9.9
|
|
|
2c82f60 |
|
|
|
07eedeb |
* Tue Oct 13 2015 gil cattaneo <puntogil@libero.it> 6.9.8-1
|
|
|
07eedeb |
- Update to 6.9.8
|
|
|
07eedeb |
|
|
|
93bf19d |
* Mon Sep 07 2015 Mat Booth <mat.booth@redhat.com> - 6.9.5-1
|
|
|
93bf19d |
- Update to 6.9.5
|
|
|
93bf19d |
|
|
|
09aace1 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.21-2
|
|
|
09aace1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
09aace1 |
|
|
|
7e935e4 |
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.21-1
|
|
|
7e935e4 |
- Update to 6.8.21
|
|
|
7e935e4 |
- introduce license macro
|
|
|
7e935e4 |
|
|
|
b00f049 |
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.17-1
|
|
|
b00f049 |
- Update to 6.8.17
|
|
|
b00f049 |
|
|
|
24012d3 |
* Wed Jan 14 2015 gil cattaneo <puntogil@libero.it> 6.8.14-1
|
|
|
24012d3 |
- Update to 6.8.14
|
|
|
24012d3 |
|
|
|
b82a4af |
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-3
|
|
|
b82a4af |
- Fix build-requires on sonatype-oss-parent
|
|
|
b82a4af |
|
|
|
d00483a |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.8-2
|
|
|
d00483a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d00483a |
|
|
|
a999d4f |
* Wed Feb 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-1
|
|
|
a999d4f |
- Update to upstream version 6.8.8
|
|
|
a999d4f |
|
|
Stanislav Ochotnicky |
e6afc43 |
* Thu Sep 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.8.7-1
|
|
Stanislav Ochotnicky |
e6afc43 |
- Update to upstream version 6.8.7
|
|
Stanislav Ochotnicky |
e6afc43 |
- Provide additional jdk15 classifier
|
|
Stanislav Ochotnicky |
e6afc43 |
|
|
|
3816ced |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.5-2
|
|
|
3816ced |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3816ced |
|
|
|
edffce3 |
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.5-1
|
|
|
edffce3 |
- Update to upstream version 6.8.5
|
|
|
edffce3 |
|
|
Mat Booth |
7ac0586 |
* Sun Feb 10 2013 Mat Booth <fedora@matbooth.co.uk> - 6.8-1
|
|
Mat Booth |
7ac0586 |
- Update to latest upstream release, rhbz #888233
|
|
Mat Booth |
7ac0586 |
|
|
Stanislav Ochotnicky |
9be560a |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 6.0.1-6
|
|
Stanislav Ochotnicky |
9be560a |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
9be560a |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
9be560a |
|
|
Stanislav Ochotnicky |
053a3e4 |
* Thu Nov 08 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-5
|
|
Stanislav Ochotnicky |
053a3e4 |
- Part of testng is CPL, add it to license tag
|
|
Stanislav Ochotnicky |
053a3e4 |
|
|
Stanislav Ochotnicky |
51250f6 |
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-4
|
|
Stanislav Ochotnicky |
51250f6 |
- Spec file cleanups and add_maven_depmap macro use
|
|
Stanislav Ochotnicky |
51250f6 |
- Drop no longer needed depmap
|
|
Stanislav Ochotnicky |
51250f6 |
|
|
|
12ffcad |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-3
|
|
|
12ffcad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
12ffcad |
|
|
|
54cd4b2 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-2
|
|
|
54cd4b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
54cd4b2 |
|
|
Jaromir Capik |
a1ad305 |
* Thu May 12 2011 Jaromir Capik <jcapik@redhat.com> - 6.0.1-1
|
|
Jaromir Capik |
a1ad305 |
- Update to 6.0.1
|
|
Jaromir Capik |
a1ad305 |
|
|
|
9649bd1 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11-4
|
|
|
9649bd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9649bd1 |
|
|
|
b471652 |
* Mon Jul 19 2010 Lubomir Rintel <lkundrak@v3.sk> - 5.11-3
|
|
|
b471652 |
- Drop backport util concurrent dependency, we don't build jdk14 jar
|
|
|
b471652 |
|
|
|
5f0a9bc |
* Mon Dec 21 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-2
|
|
|
5f0a9bc |
- Add POM
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
* Sun Dec 20 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-1
|
|
|
5f0a9bc |
- Bump to 5.11
|
|
|
5f0a9bc |
- Add maven depmap fragments
|
|
|
5f0a9bc |
- Fix line encoding of README
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
* Wed Dec 09 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-2
|
|
|
5f0a9bc |
- Add javadoc
|
|
|
5f0a9bc |
- Don't ship jdk14 jar
|
|
|
5f0a9bc |
|
|
|
5f0a9bc |
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-1
|
|
|
5f0a9bc |
- Initial packaging
|