!30 [sync] PR-27: enable make check

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-12-11 08:48:00 +00:00 committed by Gitee
commit 52f038dfa5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangpan103@h-partners.com> - 3.5-2
- enable make check
* Fri Mar 25 2022 liukuo <liukuo@kylinos.cn> - 3.5-1
- Update version to v3.5