enable make check

This commit is contained in:
zppzhangpan 2023-09-26 14:31:30 +08:00
parent aab4f097a5
commit b15e5a0575

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