Blame SPECS/assertj-core.spec

da0953
%bcond_with bootstrap
da0953
da0953
Name:           assertj-core
da0953
Version:        3.19.0
da0953
Release:        5%{?dist}
da0953
Summary:        Library of assertions similar to fest-assert
da0953
License:        ASL 2.0
da0953
URL:            https://joel-costigliola.github.io/assertj/
da0953
Source0:        https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz
da0953
da0953
BuildArch:      noarch
da0953
da0953
BuildRequires:  maven-local
da0953
%if %{with bootstrap}
da0953
BuildRequires:  javapackages-bootstrap
da0953
%else
da0953
BuildRequires:  mvn(junit:junit)
da0953
BuildRequires:  mvn(net.bytebuddy:byte-buddy)
da0953
BuildRequires:  mvn(org.hamcrest:hamcrest)
da0953
BuildRequires:  mvn(org.junit.jupiter:junit-jupiter-api)
da0953
BuildRequires:  mvn(org.opentest4j:opentest4j)
da0953
%endif
da0953
da0953
%description
da0953
A rich and intuitive set of strongly-typed assertions to use for unit testing
da0953
(either with JUnit or TestNG).
da0953
da0953
%package javadoc
da0953
Summary:        API documentation for %{name}
da0953
da0953
%description javadoc
da0953
This package provides API documentation for %{name}.
da0953
da0953
%prep
da0953
%setup -q -n assertj-core-assertj-core-%{version}
da0953
da0953
%pom_remove_parent
da0953
%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>"
da0953
%pom_xpath_remove "pom:release"
da0953
da0953
%pom_remove_plugin :maven-invoker-plugin
da0953
%pom_remove_plugin :maven-javadoc-plugin
da0953
%pom_remove_plugin :maven-shade-plugin
da0953
%pom_remove_plugin :maven-dependency-plugin
da0953
%pom_remove_plugin :maven-enforcer-plugin
da0953
%pom_remove_plugin :jacoco-maven-plugin
da0953
%pom_remove_plugin :yuicompressor-maven-plugin
da0953
%pom_remove_plugin :bnd-maven-plugin
da0953
%pom_remove_plugin :bnd-resolver-maven-plugin
da0953
%pom_remove_plugin :maven-antrun-plugin
da0953
%pom_remove_plugin :maven-jar-plugin
da0953
%pom_remove_plugin :bnd-testing-maven-plugin
da0953
da0953
# package org.mockito.internal.util.collections does not exist
da0953
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
da0953
da0953
%pom_remove_dep :memoryfilesystem
da0953
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
da0953
da0953
%build
da0953
%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 -P \!java9+
da0953
da0953
%install
da0953
%mvn_install
da0953
da0953
%files -f .mfiles
da0953
%doc README.md CONTRIBUTING.md
da0953
%license LICENSE.txt
da0953
da0953
%files javadoc -f .mfiles-javadoc
da0953
%doc CONTRIBUTING.md
da0953
%license LICENSE.txt
da0953
da0953
%changelog
da0953
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.19.0-5
da0953
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
da0953
  Related: rhbz#1991688
da0953
da0953
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-4
da0953
- Rebuild to workaround DistroBaker issue
da0953
da0953
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-3
da0953
- Bootstrap Maven for CentOS Stream 9
da0953
da0953
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-2
da0953
- Bootstrap build
da0953
- Non-bootstrap build
da0953
da0953
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.2-2
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
da0953
da0953
* Tue Jan 26 2021 Marian Koncek <mkoncek@redhat.com> - 3.19.0-1
da0953
- Update to upstream version 3.19.0
da0953
da0953
* Wed Jan 20 2021 Marian Koncek <mkoncek@redhat.com> - 3.18.1-1
da0953
- Update to upstream version 3.18.1
da0953
da0953
* Fri Oct 16 2020 Fabio Valentini <decathorpe@gmail.com> - 3.17.2-1
da0953
- Update to version 3.17.2.
da0953
da0953
* Mon Sep 21 2020 Marian Koncek <mkoncek@redhat.com> - 3.17.2-1
da0953
- Update to upstream version 3.17.2
da0953
da0953
* Sun Aug 23 2020 Fabio Valentini <decathorpe@gmail.com> - 3.17.0-1
da0953
- Update to version 3.17.0.
da0953
da0953
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 3.16.1-1
da0953
- Update to upstream version 3.16.1
da0953
da0953
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.1-5
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
da0953
da0953
* Tue Jul 21 2020 Markku Korkeala <markku.korkeala@iki.fi> - 3.16.1-4
da0953
- Remove profiles from pom.xml.
da0953
da0953
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.16.1-3
da0953
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
da0953
da0953
* Wed May 13 2020 Fabio Valentini <decathorpe@gmail.com> - 3.16.1-2
da0953
- Fix artifact generation by removing antrun plugin again.
da0953
da0953
* Tue May 12 2020 Fabio Valentini <decathorpe@gmail.com> - 3.16.1-1
da0953
- Update to version 3.16.1.
da0953
da0953
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-7
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
da0953
da0953
* Wed Nov 20 2019 Marian Koncek <mkoncek@redhat.com> - 3.14.0-1
da0953
- Update to upstream version 3.14.0
da0953
da0953
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.13.2-2
da0953
- Mass rebuild for javapackages-tools 201902
da0953
da0953
* Fri Sep 13 2019 Fabio Valentini <decathorpe@gmail.com> - 3.8.0-6
da0953
- Remove dependency on memoryfilesystem.
da0953
da0953
* Tue Aug 06 2019 Marian Koncek <mkoncek@redhat.com> - 3.13.2-1
da0953
- Update to upstream version 3.13.2
da0953
da0953
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-5
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
da0953
da0953
* Thu Jun 06 2019 Marian Koncek <mkoncek@redhat.com> - 3.12.2-1
da0953
- Update to upstream version 3.12.2
da0953
da0953
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.8.0-3
da0953
- Mass rebuild for javapackages-tools 201901
da0953
da0953
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-4
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
da0953
da0953
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-3
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
da0953
da0953
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-2
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
da0953
da0953
* Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 3.8.0-1
da0953
- Update to latest version of assertj
da0953
- Disable tests due to missing deps in Fedora
da0953
da0953
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
da0953
da0953
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 2.2.0-3
da0953
- Add conditional for memoryfilesystem
da0953
da0953
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
da0953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
da0953
da0953
* Wed Sep 02 2015 Roman Mohr <roman@fenkhuber.at> - 2.2.0-1
da0953
- Initial packaging