Compare commits
No commits in common. "a07bd58b2f08aa467cbf57f1da6bab7b66b47712" and "ad2333ae5ac55c03950977a6fbd4146dfc4b9262" have entirely different histories.
a07bd58b2f
...
ad2333ae5a
Binary file not shown.
BIN
mockito-2.23.9.tar.xz
Normal file
BIN
mockito-2.23.9.tar.xz
Normal file
Binary file not shown.
22
mockito.spec
22
mockito.spec
@ -1,11 +1,11 @@
|
||||
Name: mockito
|
||||
Version: 2.23.9
|
||||
Release: 3
|
||||
Release: 1
|
||||
Summary: Tasty mocking framework for unit tests in Java
|
||||
License: MIT
|
||||
URL: https://site.mockito.org/
|
||||
BuildArch: noarch
|
||||
Source0: https://github.com/mockito/mockito/archive/v%{version}/mockito-%{version}.tar.gz
|
||||
Source0: mockito-%{version}.tar.xz
|
||||
Source1: make-mockito-sourcetarball.sh
|
||||
Source2: mockito-core.pom
|
||||
Patch0: use-unbundled-asm.patch
|
||||
@ -29,8 +29,6 @@ This package contains the API documentation for %{name}.
|
||||
%setup -q
|
||||
%patch0
|
||||
rm -rf src/test/java/org/mockitousage/serialization/DeepStubsSerializableTest.java
|
||||
rm -rf src/test/java/org/mockitousage/serialization/ParallelSerializationTest.java
|
||||
rm -rf src/test/java/org/mockitousage/serialization/AcrossClassLoaderSerializationTest.java
|
||||
sed -e 's/@VERSION@/%{version}/' %{SOURCE2} > pom.xml
|
||||
cat > osgi.bnd <<EOF
|
||||
Automatic-Module-Name: org.mockito
|
||||
@ -43,7 +41,7 @@ EOF
|
||||
%mvn_alias org.%{name}:%{name}-core org.%{name}:%{name}-all
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.test.failure.ignore=true
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
@ -56,17 +54,5 @@ EOF
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Nov 11 2022 xu_ping <xuping33@h-partners.com> - 2.23.9-3
|
||||
- change source and url
|
||||
|
||||
* Thu Jun 23 2022 Ge Wang <wangge20@h-partners.com> - 2.23.9-2
|
||||
- ignore test failure
|
||||
|
||||
* Mon Aug 17 2020 wangyue <wangyue92@huawei.com> - 2.23.9-1
|
||||
- upgrade the version to 2.23.9
|
||||
|
||||
* Thu Apr 23 2020 wutao <wutao61@huawei.com> 1.10.19-19
|
||||
* delete useless patches
|
||||
|
||||
* Thu Apr 2 2020 gulining <gulining1@huawei.com> - 1.10.19-18
|
||||
- Package init
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user