- Add patch to fix random build errors by enforcing single thread.

* hamcrest-1.3-random-build-crash.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/hamcrest?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2014-06-16 12:25:41 +00:00
committed by Git OBS Bridge
parent fec38b9fd1
commit c98bfc3d5e
3 changed files with 52 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package hamcrest
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -67,6 +67,8 @@ Patch1: %{name}-%{version}-no-jarjar.patch
Patch2: %{name}-%{version}-no-integration.patch
#PATCH-FIX-OPENSUSE: there is no hamcrest-generator-nodeps
Patch3: %{name}-%{version}-javadoc.patch
#PATCH-FIX-UPSTREAM: random build crash fix
Patch4: hamcrest-1.3-random-build-crash.patch
Requires: java >= 1.6.0
Requires: qdox
@@ -161,6 +163,7 @@ ln -sf $(build-classpath testng-jdk15) lib/integration/
%patch2 -p1
%endif
%patch3 -p1
%patch4 -p1
perl -pi -e 's/\r$//g' LICENSE.txt