From b15e5a057589b1ffbfc219b3884248476a6cfb57 Mon Sep 17 00:00:00 2001 From: zppzhangpan Date: Tue, 26 Sep 2023 14:31:30 +0800 Subject: [PATCH] enable make check --- libx86emu.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libx86emu.spec b/libx86emu.spec index d98f70a..468d974 100644 --- a/libx86emu.spec +++ b/libx86emu.spec @@ -8,13 +8,13 @@ Name: libx86emu Version: 3.5 -Release: 2 +Release: 3 Summary: x86 emulation library License: BSD URL: https://github.com/wfeldt/libx86emu Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 10000-Fix-compilation-errors-caused-by-gcc.patch -BuildRequires: gcc +BuildRequires: gcc nasm perl %description Small x86 emulation library with focus of easy usage and extended execution @@ -40,6 +40,11 @@ The %{name}-devel package contains development files for %{name}. %install %make_install %{make_flags} +%check +%ifarch x86_64 +make -C test +%endif + %files %defattr(-,root,root) %doc README.md @@ -52,6 +57,9 @@ The %{name}-devel package contains development files for %{name}. %{_libdir}/libx86emu.so %changelog +* Tue Sep 26 2023 zhangpan - 3.5-3 +- enable make check + * Fri Apr 21 2023 sjxur - 3.5-2 - Fix-compilation-errors-caused-by-gcc