|
|
|
@ -1,20 +1,19 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: assertj-core
|
|
|
|
|
Version: 3.24.2
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 3.19.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Library of assertions similar to fest-assert
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://joel-costigliola.github.io/assertj/
|
|
|
|
|
Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-build-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest)
|
|
|
|
@ -33,40 +32,33 @@ Summary: API documentation for %{name}
|
|
|
|
|
This package provides API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n assertj-assertj-build-%{version}
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
|
|
|
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
|
|
|
%pom_remove_plugin -r :jacoco-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :yuicompressor-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :bnd-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :bnd-resolver-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :bnd-testing-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :nexus-staging-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :license-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :flatten-maven-plugin
|
|
|
|
|
%pom_remove_dep -r :mockito-bom
|
|
|
|
|
%pom_remove_dep -r :junit-bom
|
|
|
|
|
|
|
|
|
|
%pom_disable_module assertj-core-kotlin assertj-tests/assertj-integration-tests
|
|
|
|
|
%pom_disable_module assertj-core-groovy assertj-tests/assertj-integration-tests
|
|
|
|
|
|
|
|
|
|
%pom_xpath_inject pom:plugins '
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<version>any</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<archive>
|
|
|
|
|
<manifestEntries>
|
|
|
|
|
<Multi-Release>true</Multi-Release>
|
|
|
|
|
</manifestEntries>
|
|
|
|
|
</archive>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>' assertj-core
|
|
|
|
|
%setup -q -n assertj-core-assertj-core-%{version}
|
|
|
|
|
|
|
|
|
|
%pom_remove_parent
|
|
|
|
|
%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>"
|
|
|
|
|
%pom_xpath_remove "pom:release"
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-invoker-plugin
|
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
|
%pom_remove_plugin :maven-shade-plugin
|
|
|
|
|
%pom_remove_plugin :maven-dependency-plugin
|
|
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
|
%pom_remove_plugin :jacoco-maven-plugin
|
|
|
|
|
%pom_remove_plugin :yuicompressor-maven-plugin
|
|
|
|
|
%pom_remove_plugin :bnd-maven-plugin
|
|
|
|
|
%pom_remove_plugin :bnd-resolver-maven-plugin
|
|
|
|
|
%pom_remove_plugin :maven-antrun-plugin
|
|
|
|
|
%pom_remove_plugin :maven-jar-plugin
|
|
|
|
|
%pom_remove_plugin :bnd-testing-maven-plugin
|
|
|
|
|
|
|
|
|
|
# package org.mockito.internal.util.collections does not exist
|
|
|
|
|
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep :memoryfilesystem
|
|
|
|
|
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8
|
|
|
|
|
%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 -P \!java9+
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
@ -80,50 +72,18 @@ This package provides API documentation for %{name}.
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.24.2-8
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 3.24.2-8
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.24.2-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.24.2-4
|
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 27 2023 Marian Koncek <mkoncek@redhat.com> - 3.24.2-2
|
|
|
|
|
- Remove dependency on junit5-bom
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2023 Marian Koncek <mkoncek@redhat.com> - 3.24.2-1
|
|
|
|
|
- Update to upstream version 3.24.2
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 07 2022 Marian Koncek <mkoncek@redhat.com> - 3.23.1-1
|
|
|
|
|
- Update to upstream version 3.23.1
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 3.19.0-6
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.19.0-5
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.19.0-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-4
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-3
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.19.0-2
|
|
|
|
|
- Bootstrap build
|
|
|
|
|