testng/testng.spec

324 lines
11 KiB
RPMSpec
Raw Normal View History

2023-08-17 14:22:35 +00:00
%bcond_with bootstrap
2015-10-13 00:55:29 +00:00
Name: testng
2023-07-17 11:35:20 +00:00
Version: 7.8.0
Release: 1%{?dist}
2015-10-13 00:55:29 +00:00
Summary: Java-based testing framework
2023-07-17 11:36:31 +00:00
License: Apache-2.0
2023-07-17 11:35:20 +00:00
URL: https://testng.org/doc/
# ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz
2017-07-05 08:23:33 +00:00
# Allows building with maven instead of gradle
2022-09-26 14:17:05 +00:00
Source1: https://repo1.maven.org/maven2/org/testng/testng/%{version}/testng-%{version}.pom
2017-07-05 08:23:33 +00:00
# Remove bundled binaries to make sure we don't ship anything forbidden
Source2: generate-tarball.sh
2017-05-31 11:46:43 +00:00
Patch0: 0001-Avoid-accidental-javascript-in-javadoc.patch
Patch1: 0002-Replace-bundled-jquery-with-CDN-link.patch
2011-06-22 20:11:42 +00:00
2015-10-13 00:55:29 +00:00
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
2011-06-22 20:11:42 +00:00
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
2015-09-07 11:33:53 +00:00
BuildRequires: mvn(com.beust:jcommander)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
2023-03-21 08:26:39 +00:00
BuildRequires: mvn(com.google.inject:guice)
2015-09-07 11:33:53 +00:00
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif
2009-12-21 21:50:00 +00:00
%description
TestNG is a testing framework inspired from JUnit and NUnit but introducing
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
2015-10-13 00:55:29 +00:00
Summary: API documentation for %{name}
2009-12-21 21:50:00 +00:00
%description javadoc
2011-06-22 20:11:42 +00:00
This package contains the API documentation for %{name}.
2009-12-21 21:50:00 +00:00
%prep
2019-08-14 08:38:47 +00:00
%setup -q -n %{name}-%(echo %{version} | tr '~' '-')
2009-12-21 21:50:00 +00:00
2022-09-26 14:17:05 +00:00
cp %{SOURCE1} pom.xml
2023-07-17 11:35:20 +00:00
%patch 0 -p1
%patch 1 -p1
2017-05-31 11:46:43 +00:00
2022-09-26 14:17:05 +00:00
# Contains differently licensed sources
2023-07-17 11:35:20 +00:00
rm -r testng-test-osgi
2022-09-26 14:17:05 +00:00
2023-07-17 11:35:20 +00:00
find . -mindepth 2 -name 'src' -type d -exec cp -r -t . {} +
2017-07-05 08:23:33 +00:00
2016-01-08 14:48:59 +00:00
# remove any bundled libs, but not test resources
2023-07-17 11:35:20 +00:00
find ! -path '*/test/*' -name '*.jar' -print -delete
find -name '*.class' -delete
2009-12-21 21:50:00 +00:00
2022-09-26 14:17:05 +00:00
%pom_remove_dep org.webjars:jquery
2009-12-21 21:50:00 +00:00
%pom_remove_dep org.yaml:snakeyaml
rm src/main/java/org/testng/internal/Yaml*.java
rm src/main/java/org/testng/Converter.java
2015-10-27 07:00:39 +00:00
cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
%mvn_file : %{name}
# jdk15 classifier is used by some other packages
%mvn_alias : :::jdk15:
%build
2022-09-26 14:17:05 +00:00
# Tests extend a class written in Kotlin
2023-07-17 11:35:20 +00:00
%mvn_build -f -- -Dmaven.compiler.release=11
2009-12-21 21:50:00 +00:00
%install
%mvn_install
2009-12-21 21:50:00 +00:00
%files -f .mfiles
2015-09-07 11:33:53 +00:00
%doc CHANGES.txt README.md
2015-02-04 21:28:59 +00:00
%license LICENSE.txt
2011-06-22 20:11:42 +00:00
%files javadoc -f .mfiles-javadoc
2015-02-04 21:28:59 +00:00
%license LICENSE.txt
2009-12-21 21:50:00 +00:00
%changelog
2023-07-17 11:35:20 +00:00
* Thu Aug 17 2023 Marian Koncek <mkoncek@redhat.com> - 7.8.0-1
- Update to upstream version 7.8.0
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-03-31 18:12:16 +00:00
* Fri Mar 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.6.1-4
- Rebuild with no changes
2023-03-21 08:26:39 +00:00
* Tue Mar 21 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.6.1-3
- Port to Google Guice 5
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-26 14:17:05 +00:00
* Fri Sep 09 2022 Marian Koncek <mkoncek@redhat.com> - 7.6.1-1
- Update to upstream version 7.6.1
* 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
2021-05-17 13:50:48 +00:00
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.3.0-2
- Bootstrap build
2021-05-17 16:01:49 +00:00
- Non-bootstrap build
2021-05-17 13:50:48 +00:00
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-09-30 14:38:24 +00:00
* 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
2020-07-29 09:00:10 +00:00
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.1.1-1
- Update to upstream version 7.1.1
2020-07-11 05:30:00 +00:00
* 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
2019-09-02 07:11:45 +00:00
* Mon Sep 02 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.0-1
- Update to upstream version 7.0.0
2019-08-14 08:38:47 +00:00
* 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
2019-07-23 19:00:17 +00:00
* Tue Jul 23 2019 Fabio Valentini <decathorpe@gmail.com> - 6.14.3-8
- Disable groovy support by default.
2019-06-06 12:19:34 +00:00
* 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
2018-12-13 09:40:04 +00:00
* 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
* Tue Jul 17 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.14.3-4
- Allow conditionally building without snakeyaml
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.14.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-03-20 09:57:22 +00:00
* Tue Mar 20 2018 Alexander Kurtakov <akurtako@redhat.com> 6.14.3-2
- Bump maven pom version.
2018-03-20 09:15:26 +00:00
* Tue Mar 20 2018 Alexander Kurtakov <akurtako@redhat.com> 6.14.3-1
- Update to upstream 6.14.3.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 23 2017 Mat Booth <mat.booth@redhat.com> - 6.12-2
- Allow OSGi metadata to export all packages including internal ones
* Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 6.12-1
- Update to latest release of testng
- Fixes classloading from ant rhbz#1475842
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-05 08:23:33 +00:00
* Tue Jul 04 2017 Mat Booth <mat.booth@redhat.com> - 6.11-1
- Update to latest upstream release
- Continue building with maven for now, instead of moving to gradle due to
rhbz#1467724
2017-05-31 11:46:43 +00:00
* Wed May 31 2017 Michael Simacek <msimacek@redhat.com> - 6.9.12-5
- Avoid accidental javascript in comment
2017-02-17 14:38:09 +00:00
* Fri Feb 17 2017 Mat Booth <mat.booth@redhat.com> - 6.9.12-4
- License correction
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 1 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.9.12-2
- Introduce build-conditional to allow building without groovy
* Tue Nov 01 2016 Mat Booth <mat.booth@redhat.com> - 6.9.12-1
- Update to upstream version 6.9.12
- Avoid 'SNAPSHOT' in pom version to fix tests in testng-remote package
2016-04-20 08:07:38 +00:00
* Wed Apr 20 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.9.11-1
- Update to upstream version 6.9.11
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-08 14:48:59 +00:00
* Fri Jan 08 2016 gil cattaneo <puntogil@libero.it> 6.9.10-1
- Update to 6.9.10
2015-10-27 07:00:39 +00:00
* Tue Oct 27 2015 gil cattaneo <puntogil@libero.it> 6.9.9-1
- Update to 6.9.9
2015-10-13 00:55:29 +00:00
* Tue Oct 13 2015 gil cattaneo <puntogil@libero.it> 6.9.8-1
- Update to 6.9.8
2015-09-07 11:33:53 +00:00
* Mon Sep 07 2015 Mat Booth <mat.booth@redhat.com> - 6.9.5-1
- Update to 6.9.5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-04 21:28:59 +00:00
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.21-1
- Update to 6.8.21
- introduce license macro
2015-01-20 06:49:26 +00:00
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.17-1
- Update to 6.8.17
2015-01-14 10:48:56 +00:00
* Wed Jan 14 2015 gil cattaneo <puntogil@libero.it> 6.8.14-1
- Update to 6.8.14
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-3
- Fix build-requires on sonatype-oss-parent
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-26 12:56:15 +00:00
* Wed Feb 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-1
- Update to upstream version 6.8.8
* Thu Sep 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.8.7-1
- Update to upstream version 6.8.7
- Provide additional jdk15 classifier
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-14 13:10:57 +00:00
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.5-1
- Update to upstream version 6.8.5
2013-02-10 18:13:58 +00:00
* Sun Feb 10 2013 Mat Booth <fedora@matbooth.co.uk> - 6.8-1
- Update to latest upstream release, rhbz #888233
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 6.0.1-6
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Thu Nov 08 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-5
- Part of testng is CPL, add it to license tag
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-4
- Spec file cleanups and add_maven_depmap macro use
- Drop no longer needed depmap
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-22 20:11:42 +00:00
* Thu May 12 2011 Jaromir Capik <jcapik@redhat.com> - 6.0.1-1
- Update to 6.0.1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jul 19 2010 Lubomir Rintel <lkundrak@v3.sk> - 5.11-3
- Drop backport util concurrent dependency, we don't build jdk14 jar
2009-12-21 21:50:00 +00:00
* Mon Dec 21 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-2
- Add POM
* Sun Dec 20 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-1
- Bump to 5.11
- Add maven depmap fragments
- Fix line encoding of README
* Wed Dec 09 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-2
- Add javadoc
- Don't ship jdk14 jar
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-1
- Initial packaging