!25 enable make check

From: @zppzhangpan 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
This commit is contained in:
openeuler-ci-bot 2023-09-26 09:18:46 +00:00 committed by Gitee
commit 5b06c7555c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangpan103@h-partners.com> - 3.5-3
- enable make check
* Fri Apr 21 2023 sjxur <sjxur@isoftstone.com> - 3.5-2
- Fix-compilation-errors-caused-by-gcc