diff --git a/opentest4j-1.0.0.pom b/opentest4j-1.2.0.pom
similarity index 98%
rename from opentest4j-1.0.0.pom
rename to opentest4j-1.2.0.pom
index 10173f5..95b9a7c 100644
--- a/opentest4j-1.0.0.pom
+++ b/opentest4j-1.2.0.pom
@@ -4,7 +4,7 @@
4.0.0
org.opentest4j
opentest4j
- 1.0.0
+ 1.2.0
org.opentest4j:opentest4j
Open Test Alliance for the JVM
https://github.com/ota4j-team/opentest4j
diff --git a/opentest4j-build.xml b/opentest4j-build.xml
index c407c66..3872b54 100644
--- a/opentest4j-build.xml
+++ b/opentest4j-build.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/opentest4j.changes b/opentest4j.changes
index 4781125..c300493 100644
--- a/opentest4j.changes
+++ b/opentest4j.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Apr 2 07:06:55 UTC 2020 - Fridrich Štrba
+
+- Update to upstream version 1.2.0
+
-------------------------------------------------------------------
Tue Mar 5 17:29:29 UTC 2019 - Fridrich Strba
diff --git a/opentest4j.spec b/opentest4j.spec
index dbae4df..731f7fa 100644
--- a/opentest4j.spec
+++ b/opentest4j.spec
@@ -1,7 +1,7 @@
#
# spec file for package opentest4j
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%bcond_with tests
Name: opentest4j
-Version: 1.0.0
+Version: 1.2.0
Release: 0
Summary: Open Test Alliance for the JVM
License: Apache-2.0
@@ -57,9 +57,41 @@ API documentation for %{name}.
find -name \*.jar -delete
cp %{SOURCE1} build.xml
+cp %{SOURCE100} pom.xml
+
+%pom_add_dep junit:junit::test
+
+%pom_xpath_inject pom:project "
+
+
+
+
+ maven-jar-plugin
+
+
+
+ org.opentest4j
+ opentest4j
+ opentest4j.org
+ %{version}
+ opentest4j
+ opentest4j.org
+ %{version}
+
+ 2
+ org.opentest4j
+ %{version}
+ org.opentest4j;version=\"%{version}\"
+
+
+
+
+
+
+ "
%build
-%ant \
+%{ant} \
%if %{without tests}
-Dtest.skip=true \
%endif
diff --git a/r1.0.0.tar.gz b/r1.0.0.tar.gz
deleted file mode 100644
index 1f3b9ed..0000000
--- a/r1.0.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:378f47df09dad9a24ca913161143d8470e26aca6ef0dd18f3f2a4219ea6fc99e
-size 69951
diff --git a/r1.2.0.tar.gz b/r1.2.0.tar.gz
new file mode 100644
index 0000000..4c475a5
--- /dev/null
+++ b/r1.2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f915b9a11aff8445de75f990b431d6295e8c64f336ea6cba7efb26ca6198ad4d
+size 77616