|
|
71c3d2 |
Name: opentest4j
|
|
|
71c3d2 |
Version: 1.1.1
|
|
|
71c3d2 |
Release: 1%{?dist}
|
|
|
71c3d2 |
Summary: Open Test Alliance for the JVM
|
|
|
71c3d2 |
License: ASL 2.0
|
|
|
71c3d2 |
URL: https://github.com/ota4j-team/opentest4j
|
|
|
71c3d2 |
BuildArch: noarch
|
|
|
71c3d2 |
|
|
|
71c3d2 |
Source0: https://github.com/ota4j-team/opentest4j/archive/r%{version}.tar.gz
|
|
|
71c3d2 |
|
|
|
71c3d2 |
Source100: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom
|
|
|
71c3d2 |
|
|
|
71c3d2 |
BuildRequires: maven-local
|
|
|
71c3d2 |
BuildRequires: mvn(junit:junit)
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%description
|
|
|
71c3d2 |
Open Test Alliance for the JVM is a minimal common foundation for
|
|
|
71c3d2 |
testing libraries on the JVM. The primary goal of the project is to
|
|
|
71c3d2 |
enable testing frameworks like JUnit, TestNG, Spock, etc. and
|
|
|
71c3d2 |
third-party assertion libraries like Hamcrest, AssertJ, etc. to use a
|
|
|
71c3d2 |
common set of exceptions that IDEs and build tools can support in a
|
|
|
71c3d2 |
consistent manner across all testing scenarios -- for example, for
|
|
|
71c3d2 |
consistent handling of failed assertions and failed assumptions as
|
|
|
71c3d2 |
well as visualization of test execution in IDEs and reports.
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%package javadoc
|
|
|
71c3d2 |
Summary: Javadoc for %{name}
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%description javadoc
|
|
|
71c3d2 |
API documentation for %{name}.
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%prep
|
|
|
71c3d2 |
%setup -q -n opentest4j-r%{version}
|
|
|
71c3d2 |
find -name \*.jar -delete
|
|
|
71c3d2 |
cp -p %{SOURCE100} pom.xml
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%pom_add_dep junit:junit:4.12:test
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%pom_xpath_inject pom:project "
|
|
|
71c3d2 |
<build>
|
|
|
71c3d2 |
<pluginManagement>
|
|
|
71c3d2 |
<plugins>
|
|
|
71c3d2 |
<plugin>
|
|
|
71c3d2 |
<artifactId>maven-jar-plugin</artifactId>
|
|
|
71c3d2 |
<configuration>
|
|
|
71c3d2 |
<archive>
|
|
|
71c3d2 |
<manifestEntries>
|
|
|
71c3d2 |
<Automatic-Module-Name>org.opentest4j</Automatic-Module-Name>
|
|
|
71c3d2 |
<Implementation-Title>opentest4j</Implementation-Title>
|
|
|
71c3d2 |
<Implementation-Vendor>opentest4j.org</Implementation-Vendor>
|
|
|
71c3d2 |
<Implementation-Version>%{version}</Implementation-Version>
|
|
|
71c3d2 |
<Specification-Title>opentest4j</Specification-Title>
|
|
|
71c3d2 |
<Specification-Vendor>opentest4j.org</Specification-Vendor>
|
|
|
71c3d2 |
<Specification-Version>%{version}</Specification-Version>
|
|
|
71c3d2 |
|
|
|
71c3d2 |
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
|
|
71c3d2 |
<Bundle-SymbolicName>org.opentest4j</Bundle-SymbolicName>
|
|
|
71c3d2 |
<Bundle-Version>%{version}</Bundle-Version>
|
|
|
71c3d2 |
<Export-Package>org.opentest4j;version=\"%{version}\"</Export-Package>
|
|
|
71c3d2 |
</manifestEntries>
|
|
|
71c3d2 |
</archive>
|
|
|
71c3d2 |
</configuration>
|
|
|
71c3d2 |
</plugin>
|
|
|
71c3d2 |
</plugins>
|
|
|
71c3d2 |
</pluginManagement>
|
|
|
71c3d2 |
</build>"
|
|
|
71c3d2 |
|
|
|
71c3d2 |
# Fix unused reference to unused dependency
|
|
|
71c3d2 |
# This is fixed upstream: https://github.com/ota4j-team/opentest4j/commit/70d3d54f2cd076a962e81d9510e6716f3cbf8060
|
|
|
71c3d2 |
sed -i -e '/org\.apache\.commons\.codec/d' src/test/java/org/opentest4j/AssertionFailedErrorTests.java
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%build
|
|
|
71c3d2 |
%mvn_build
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%install
|
|
|
71c3d2 |
%mvn_install
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%files -f .mfiles
|
|
|
71c3d2 |
%license LICENSE
|
|
|
71c3d2 |
%doc README.md
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%files javadoc -f .mfiles-javadoc
|
|
|
71c3d2 |
%license LICENSE
|
|
|
71c3d2 |
|
|
|
71c3d2 |
%changelog
|
|
|
71c3d2 |
* Tue Mar 05 2019 Mat Booth <mat.booth@redhat.com> - 1.1.1-1
|
|
|
71c3d2 |
- Update to latest upstream release
|
|
|
71c3d2 |
|
|
|
71c3d2 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
71c3d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
71c3d2 |
|
|
|
71c3d2 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
71c3d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
71c3d2 |
|
|
|
71c3d2 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
71c3d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
71c3d2 |
|
|
|
71c3d2 |
* Thu Sep 14 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-1
|
|
|
71c3d2 |
- Initial packaging
|