From 478137a537277f68fce09f4b72adbacc8b605f86bdb60f9acdd013fc25271a67 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 Jul 2022 11:22:40 +0000 Subject: [PATCH] Accepting request 985772 from home:dirkmueller:Factory - enable tests for != ppc64le OBS-URL: https://build.opensuse.org/request/show/985772 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=17 --- liburing.changes | 5 +++++ liburing.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/liburing.changes b/liburing.changes index e43f110..021c868 100644 --- a/liburing.changes +++ b/liburing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 29 11:28:10 UTC 2022 - Dirk Müller + +- enable tests for != ppc64le + ------------------------------------------------------------------- Tue Jun 28 13:40:10 UTC 2022 - Dirk Müller diff --git a/liburing.spec b/liburing.spec index e58721d..ff71c64 100644 --- a/liburing.spec +++ b/liburing.spec @@ -25,8 +25,9 @@ License: (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT Group: Development/Libraries/C and C++ URL: https://git.kernel.dk/cgit/liburing Source: https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.bz2 -BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: pkgconfig +BuildRequires: procps # Kernel part has landed in 5.1 Conflicts: kernel < 5.1 @@ -67,6 +68,12 @@ sh ./configure --prefix=%{_prefix} \ --datadir=%{_datadir} %make_build -C src +%check +# tests are broken on ppc64 due to bsc#1200564 +%ifnarch ppc64le +/usr/bin/make runtests +%endif + %install %make_install rm -v %{buildroot}%{_libdir}/%{name}.a