diff --git a/libaio.spec b/libaio.spec index aa767f3..12736ac 100644 --- a/libaio.spec +++ b/libaio.spec @@ -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 - 0.3.113-3 +- Add sw64 architecture + * Thu Nov 3 2022 wangzhiqiang - 0.3.113-2 - skip testcase 23 since current kernel version not support