From deb4397fdb1e9c48986a2ad17a8bfa8e613ec31e Mon Sep 17 00:00:00 2001 From: zppzhangpan Date: Fri, 17 Nov 2023 14:58:23 +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 6fc72e2..8c11d63 100644 --- a/libx86emu.spec +++ b/libx86emu.spec @@ -8,12 +8,12 @@ Name: libx86emu Version: 3.1 -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 -BuildRequires: gcc +BuildRequires: gcc nasm perl %description libx86emu is a small library to emulate x86 instructions. @@ -38,6 +38,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 @@ -50,6 +55,9 @@ The %{name}-devel package contains development files for %{name}. %{_libdir}/libx86emu.so %changelog +* Fri Nov 17 2023 zhangpan 3.1-3 +- enable make check + * Sat Jun 11 2022 hanhui 3.1-2 - DESC:remove libx86emu.so.1* -- Gitee