Accepting request 813334 from home:berny:branches:Base:System

- findutils-gnulib-disable-test-float.patch: Add patch to temporarily
  disable the gnulib test 'test-float' failing on ppc and ppc64le.
- findutils.spec: Reference the patch.

OBS-URL: https://build.opensuse.org/request/show/813334
OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=83
This commit is contained in:
2020-06-10 22:25:34 +00:00
committed by Git OBS Bridge
parent a502b6e517
commit 73c876b995
3 changed files with 300 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package findutils
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -46,6 +46,11 @@ Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{
Patch0: findutils-xautofs.patch
Patch1: disable-null-ptr-test.patch
%ifarch ppc ppc64le
# Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.
Patch2: findutils-gnulib-disable-test-float.patch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BuildRequire dejagnu for 'runtest' to execute all tests.
BuildRequires: dejagnu
@@ -77,6 +82,10 @@ useful for finding things on your system.
%patch0
%patch1 -p1
%ifarch ppc ppc64le
%patch2
%endif
%build
%if 0%{?qemu_user_space_build}
# this is a workaround for a qemu-user bug, we hit. A qemu patch is being discussed, but for now ...