From 548e2390fc0ce7fd44ce98b1f5ea4dfbe0a3ba3d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 29 Nov 2018 12:42:46 +0000 Subject: [PATCH 01/14] Expand conditionals --- testng.spec | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/testng.spec b/testng.spec index 7c089e3..204fcf1 100644 --- a/testng.spec +++ b/testng.spec @@ -1,5 +1,3 @@ -%bcond_without groovy -%bcond_without snakeyaml Name: testng Version: 6.14.3 @@ -30,15 +28,6 @@ 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:) -%if %{with groovy} -BuildRequires: mvn(org.assertj:assertj-core) >= 3.8.0 -BuildRequires: mvn(org.codehaus.gmavenplus:gmavenplus-plugin) -BuildRequires: mvn(org.codehaus.groovy:groovy-all) -BuildRequires: mvn(org.spockframework:spock-core) -%endif -%if %{with snakeyaml} -BuildRequires: mvn(org.yaml:snakeyaml) -%endif %description TestNG is a testing framework inspired from JUnit and NUnit but introducing @@ -69,23 +58,11 @@ find -name *.class -delete %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin -%if %{without snakeyaml} %pom_remove_dep org.yaml:snakeyaml rm src/main/java/org/testng/internal/Yaml*.java rm src/main/java/org/testng/Converter.java -%endif # missing test deps -%if %{with groovy} -%pom_add_plugin "org.codehaus.gmavenplus:gmavenplus-plugin" pom.xml \ - "addTestSourcestestGenerateStubstestCompileremoveTestStubs" -%pom_add_dep "org.assertj:assertj-core::test" -%pom_add_dep "org.spockframework:spock-core::test" -%pom_add_dep "org.codehaus.groovy:groovy-all::test" - -# remove failing test -sed -i -e '/parallelDataProviderSample/,+12d' ./src/test/java/test/dataprovider/DataProviderTest.java -%endif sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java @@ -96,11 +73,7 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/. %mvn_alias : :::jdk15: %build -%if %{with groovy} && %{with snakeyaml} -%mvn_build -%else %mvn_build -f -%endif %install %mvn_install From 8a4d08fe8eb0e5656f0e9c0eac317f06b6d7fb25 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 24 May 2019 17:01:44 +0200 Subject: [PATCH 02/14] Mass rebuild for javapackages-tools 201901 --- testng.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testng.spec b/testng.spec index 204fcf1..016f5b1 100644 --- a/testng.spec +++ b/testng.spec @@ -1,7 +1,7 @@ Name: testng Version: 6.14.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java-based testing framework License: ASL 2.0 URL: http://testng.org/ @@ -86,6 +86,9 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/. %license LICENSE.txt %changelog +* Fri May 24 2019 Mikolaj Izdebski - 6.14.3-6 +- Mass rebuild for javapackages-tools 201901 + * Wed Jul 18 2018 Michael Simacek - 6.14.3-5 - Clean tarball from binaries - Replace bundled jquery with CDN link From 96bc7486dcc179d5a333733799662cba74c9ac2c Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Thu, 6 Jun 2019 14:19:34 +0200 Subject: [PATCH 03/14] Update to upstream version 7.0.0~beta4 --- .gitignore | 1 + ...oid-accidental-javascript-in-javadoc.patch | 18 ++++++++------- ...Replace-bundled-jquery-with-CDN-link.patch | 23 +++++++++---------- generate-tarball.sh | 7 +++--- pom.xml | 4 ++-- sources | 2 +- testng.spec | 10 ++++---- 7 files changed, 35 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 17ee1c1..46e5c91 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /6.12.tar.gz /6.14.3.tar.gz /testng-6.14.3.tar.gz +/testng-7.0.0~beta4.tar.gz diff --git a/0001-Avoid-accidental-javascript-in-javadoc.patch b/0001-Avoid-accidental-javascript-in-javadoc.patch index 9df54e3..fc97728 100644 --- a/0001-Avoid-accidental-javascript-in-javadoc.patch +++ b/0001-Avoid-accidental-javascript-in-javadoc.patch @@ -4,22 +4,24 @@ Date: Wed, 31 May 2017 13:44:36 +0200 Subject: [PATCH 1/2] Avoid accidental javascript in javadoc --- - src/main/java/org/testng/xml/TestNGContentHandler.java | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + src/main/java/org/testng/xml/TestNGContentHandler.java | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/testng/xml/TestNGContentHandler.java b/src/main/java/org/testng/xml/TestNGContentHandler.java -index 450678f..11543e3 100644 +index b74572a..7c490e9 100644 --- a/src/main/java/org/testng/xml/TestNGContentHandler.java +++ b/src/main/java/org/testng/xml/TestNGContentHandler.java -@@ -245,7 +245,7 @@ public class TestNGContentHandler extends DefaultHandler { +@@ -250,7 +250,9 @@ public class TestNGContentHandler extends DefaultHandler { + } } - /** -- * Parse -+ +- ++ +