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
This commit is contained in:
Marcus Meissner 2022-07-06 11:22:40 +00:00 committed by Git OBS Bridge
parent 7742408a83
commit 478137a537
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 29 11:28:10 UTC 2022 - Dirk Müller <dmueller@suse.com>
- enable tests for != ppc64le
-------------------------------------------------------------------
Tue Jun 28 13:40:10 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -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