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