forked from pool/assertj-core
This commit is contained in:
BIN
assertj-build-3.25.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
assertj-build-3.25.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:df4d6c550b435bec61ce243997b154a60b4e9230e84d3a3322c54ddd1d11c1cd
|
|
||||||
size 976388
|
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package assertj-core
|
# spec file for package assertj-core
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,28 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with memoryfilesystem
|
|
||||||
Name: assertj-core
|
Name: assertj-core
|
||||||
Version: 3.8.0
|
Version: 3.25.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library of assertions similar to fest-assert
|
Summary: Library of assertions similar to fest-assert
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
URL: https://joel-costigliola.github.io/assertj/
|
||||||
URL: http://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
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(cglib:cglib-nodep)
|
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
||||||
BuildRequires: mvn(org.mockito:mockito-core)
|
BuildRequires: mvn(org.hamcrest:hamcrest)
|
||||||
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
||||||
|
BuildRequires: mvn(org.opentest4j:opentest4j)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with memoryfilesystem}
|
|
||||||
BuildRequires: mvn(com.github.marschall:memoryfilesystem)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of strongly-typed assertions to use for unit testing
|
A rich and intuitive set of strongly-typed assertions to use for unit testing
|
||||||
(either with JUnit or TestNG).
|
(either with JUnit or TestNG).
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
@@ -47,33 +43,43 @@ Summary: API documentation for %{name}
|
|||||||
This package provides API documentation for %{name}.
|
This package provides API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n assertj-assertj-build-%{version}
|
||||||
|
|
||||||
%{pom_remove_parent}
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
||||||
%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>"
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
||||||
|
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||||
|
%pom_remove_plugin -r :spotless-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_remove_plugin :maven-javadoc-plugin
|
%pom_disable_module assertj-core-kotlin assertj-tests/assertj-integration-tests
|
||||||
%pom_remove_plugin :maven-shade-plugin
|
%pom_disable_module assertj-core-groovy assertj-tests/assertj-integration-tests
|
||||||
%pom_remove_plugin :maven-dependency-plugin
|
|
||||||
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
|
|
||||||
|
|
||||||
# package org.mockito.internal.util.collections does not exist
|
%pom_xpath_inject pom:plugins '
|
||||||
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
%if %{without memoryfilesystem}
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
%pom_remove_dep :memoryfilesystem
|
<version>any</version>
|
||||||
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
|
<configuration>
|
||||||
%endif
|
<archive>
|
||||||
|
<manifestEntries>
|
||||||
# test lib not in openSUSE
|
<Multi-Release>true</Multi-Release>
|
||||||
%pom_remove_dep com.tngtech.java:junit-dataprovider
|
</manifestEntries>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>' assertj-core
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -f -- -Dproject.build.sourceEncoding=UTF-8 -Dsource=8
|
%{mvn_build} -f -- -Dmaven.compiler.release=8 -Dproject.build.sourceEncoding=UTF-8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
%fdupes -s %{buildroot}%{_javadocdir}
|
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc README.md CONTRIBUTING.md
|
%doc README.md CONTRIBUTING.md
|
||||||
|
Reference in New Issue
Block a user