Add sw64 architecture

Signed-off-by: wzx <wuzx1226@qq.com>
This commit is contained in:
wzx 2022-11-07 15:36:04 +08:00
parent c8d6d8daf1
commit 74d7cb85b5

View File

@ -1,7 +1,7 @@
Name: libaio
Version: 0.3.113
Release: 2
Release: 3
Summary: Linux-native asynchronous I/O access library
License: LGPLv2+
URL: https://pagure.io/libaio
@ -16,6 +16,7 @@ Patch3: 0003-libaio-fix-for-x32.patch
Patch4: 0004-libaio-makefile-add-D_FORTIFY_SOURCE-flag.patch
Patch5: 0005-Fix-compile-error-that-exec-checking-need-super-priv.patch
Patch6: 0006-skip-testcase-23-since-current-kernel-version-not-su.patch
Patch7: 0007-libaio-Add-sw64-architecture.patch
BuildRequires: gcc
@ -45,6 +46,9 @@ Files for libaio development
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag
%patch5 -p1 -b .fix-compile-error
%patch6 -p1 -b .skip-testcase
%ifarch sw_64
%patch7 -p1
%endif
mv %{name}-%{version} setup-%{name}-%{version}
@ -76,6 +80,9 @@ make check
%attr(0755,root,root) %{_libdir}/libaio.so
%changelog
* Mon Nov 7 2022 wuzx<wuzx1226@qq.com> - 0.3.113-3
- Add sw64 architecture
* Thu Nov 3 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.3.113-2
- skip testcase 23 since current kernel version not support