From f32fe09505538d113b76431449891c02a7b4ff41 Mon Sep 17 00:00:00 2001 From: zppzhangpan Date: Fri, 17 Nov 2023 14:51:00 +0800 Subject: [PATCH] enable make check (cherry picked from commit def3e3e31a23054b3a3765d78cf9091e148642b0) --- libx86emu.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libx86emu.spec b/libx86emu.spec index 42a8349..c57f135 100644 --- a/libx86emu.spec +++ b/libx86emu.spec @@ -8,12 +8,12 @@ Name: libx86emu Version: 3.5 -Release: 1 +Release: 2 Summary: x86 emulation library License: BSD URL: https://github.com/wfeldt/libx86emu Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc +BuildRequires: gcc nasm perl %description Small x86 emulation library with focus of easy usage and extended execution @@ -39,6 +39,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 @@ -51,6 +56,9 @@ The %{name}-devel package contains development files for %{name}. %{_libdir}/libx86emu.so %changelog +* Fri Nov 17 2023 zhangpan - 3.5-2 +- enable make check + * Fri Mar 25 2022 liukuo - 3.5-1 - Update version to v3.5 -- Gitee