a866e6
Name:           assertj-core
a866e6
Version:        3.13.2
a866e6
Release:        2%{?dist}
a866e6
Summary:        Library of assertions similar to fest-assert
a866e6
License:        ASL 2.0
a866e6
URL:            http://joel-costigliola.github.io/assertj/
a866e6
Source0:        https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz
a866e6
a866e6
BuildArch:      noarch
a866e6
a866e6
BuildRequires:  maven-local
a866e6
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
a866e6
BuildRequires:  mvn(cglib:cglib-nodep)
a866e6
BuildRequires:  mvn(junit:junit)
a866e6
BuildRequires:  mvn(org.junit.jupiter:junit-jupiter-api)
a866e6
BuildRequires:  mvn(org.mockito:mockito-core)
a866e6
a866e6
%description
a866e6
A rich and intuitive set of strongly-typed assertions to use for unit testing
a866e6
(either with JUnit or TestNG).
a866e6
a866e6
%package javadoc
a866e6
Summary:        API documentation for %{name}
a866e6
a866e6
%description javadoc
a866e6
This package provides API documentation for %{name}.
a866e6
a866e6
%prep
a866e6
%setup -q -n assertj-core-assertj-core-%{version}
a866e6
a866e6
%pom_remove_parent
a866e6
%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>"
a866e6
%pom_xpath_remove "pom:release"
a866e6
a866e6
%pom_remove_plugin :maven-javadoc-plugin
a866e6
%pom_remove_plugin :maven-shade-plugin
a866e6
%pom_remove_plugin :maven-dependency-plugin
a866e6
%pom_remove_plugin :maven-enforcer-plugin
a866e6
%pom_remove_plugin :jacoco-maven-plugin
a866e6
a866e6
# package org.mockito.internal.util.collections does not exist
a866e6
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
a866e6
a866e6
%pom_remove_dep :memoryfilesystem
a866e6
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
a866e6
a866e6
# test lib not in Fedora
a866e6
%pom_remove_dep org.junit:junit-bom:
a866e6
a866e6
%build
a866e6
%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 -P \!java9+
a866e6
a866e6
%install
a866e6
%mvn_install
a866e6
a866e6
%files -f .mfiles
a866e6
%doc README.md CONTRIBUTING.md
a866e6
%license LICENSE
a866e6
a866e6
%files javadoc -f .mfiles-javadoc
a866e6
%doc CONTRIBUTING.md
a866e6
%license LICENSE
a866e6
a866e6
%changelog
a866e6
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.13.2-2
a866e6
- Mass rebuild for javapackages-tools 201902
a866e6
a866e6
* Tue Aug 06 2019 Marian Koncek <mkoncek@redhat.com> - 3.13.2-1
a866e6
- Update to upstream version 3.13.2
a866e6
a866e6
* Thu Jun 06 2019 Marian Koncek <mkoncek@redhat.com> - 3.12.2-1
a866e6
- Update to upstream version 3.12.2
a866e6
a866e6
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.8.0-3
a866e6
- Mass rebuild for javapackages-tools 201901
a866e6
a866e6
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-2
a866e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a866e6
a866e6
* Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 3.8.0-1
a866e6
- Update to latest version of assertj
a866e6
- Disable tests due to missing deps in Fedora
a866e6
a866e6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
a866e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a866e6
a866e6
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 2.2.0-3
a866e6
- Add conditional for memoryfilesystem
a866e6
a866e6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
a866e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a866e6
a866e6
* Wed Sep 02 2015 Roman Mohr <roman@fenkhuber.at> - 2.2.0-1
a866e6
- Initial packaging