From bcb48f7a3731e504b703abd012999f16663c1310 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 6 Feb 2020 11:49:52 -0500 Subject: [PATCH] import opentest4j-1.1.1-1.module+el8.1.1+4657+f90e8085 --- .gitignore | 1 + .opentest4j.metadata | 1 + SOURCES/opentest4j-1.1.1.pom | 49 ++++++++++++++++++ SPECS/opentest4j.spec | 99 ++++++++++++++++++++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 .gitignore create mode 100644 .opentest4j.metadata create mode 100644 SOURCES/opentest4j-1.1.1.pom create mode 100644 SPECS/opentest4j.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..163ca85 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/r1.1.1.tar.gz diff --git a/.opentest4j.metadata b/.opentest4j.metadata new file mode 100644 index 0000000..893c9ed --- /dev/null +++ b/.opentest4j.metadata @@ -0,0 +1 @@ +f3c18434813fc664afdc5387342b6ec9698a486b SOURCES/r1.1.1.tar.gz diff --git a/SOURCES/opentest4j-1.1.1.pom b/SOURCES/opentest4j-1.1.1.pom new file mode 100644 index 0000000..66cfd8a --- /dev/null +++ b/SOURCES/opentest4j-1.1.1.pom @@ -0,0 +1,49 @@ + + + 4.0.0 + org.opentest4j + opentest4j + 1.1.1 + org.opentest4j:opentest4j + Open Test Alliance for the JVM + https://github.com/ota4j-team/opentest4j + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + Matthias.Merdes@heidelberg-mobil.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + + scm:git:git://github.com/ota4j-team/opentest4j.git + scm:git:git://github.com/ota4j-team/opentest4j.git + https://github.com/ota4j-team/opentest4j + + diff --git a/SPECS/opentest4j.spec b/SPECS/opentest4j.spec new file mode 100644 index 0000000..ba4ae30 --- /dev/null +++ b/SPECS/opentest4j.spec @@ -0,0 +1,99 @@ +Name: opentest4j +Version: 1.1.1 +Release: 1%{?dist} +Summary: Open Test Alliance for the JVM +License: ASL 2.0 +URL: https://github.com/ota4j-team/opentest4j +BuildArch: noarch + +Source0: https://github.com/ota4j-team/opentest4j/archive/r%{version}.tar.gz + +Source100: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) + +%description +Open Test Alliance for the JVM is a minimal common foundation for +testing libraries on the JVM. The primary goal of the project is to +enable testing frameworks like JUnit, TestNG, Spock, etc. and +third-party assertion libraries like Hamcrest, AssertJ, etc. to use a +common set of exceptions that IDEs and build tools can support in a +consistent manner across all testing scenarios -- for example, for +consistent handling of failed assertions and failed assumptions as +well as visualization of test execution in IDEs and reports. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n opentest4j-r%{version} +find -name \*.jar -delete +cp -p %{SOURCE100} pom.xml + +%pom_add_dep junit:junit:4.12: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}\" + + + + + + + " + +# Fix unused reference to unused dependency +# This is fixed upstream: https://github.com/ota4j-team/opentest4j/commit/70d3d54f2cd076a962e81d9510e6716f3cbf8060 +sed -i -e '/org\.apache\.commons\.codec/d' src/test/java/org/opentest4j/AssertionFailedErrorTests.java + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE +%doc README.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Tue Mar 05 2019 Mat Booth - 1.1.1-1 +- Update to latest upstream release + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Sep 14 2017 Mikolaj Izdebski - 1.0.0-1 +- Initial packaging