!46 sync patches to setup-libaio-%{version} package
From: @liubo254 Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
cb66fd5c8b
13
libaio.spec
13
libaio.spec
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: libaio
|
Name: libaio
|
||||||
Version: 0.3.113
|
Version: 0.3.113
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Linux-native asynchronous I/O access library
|
Summary: Linux-native asynchronous I/O access library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://pagure.io/libaio
|
URL: https://pagure.io/libaio
|
||||||
@ -38,16 +38,24 @@ Files for libaio development
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -a 0
|
%setup -q -a 0
|
||||||
%patch0 -p1 -b .install-to-destdir-slash-usr
|
%patch0 -p1 -b .install-to-destdir-slash-usr
|
||||||
|
%patch0 -p1 -b .install-to-destdir-slash-usr -d %{name}-%{version}
|
||||||
%patch1 -p1 -b .arm64-ilp32
|
%patch1 -p1 -b .arm64-ilp32
|
||||||
|
%patch1 -p1 -b .arm64-ilp32 -d %{name}-%{version}
|
||||||
%ifarch aarch64 aarch64_ilp32 x86_64
|
%ifarch aarch64 aarch64_ilp32 x86_64
|
||||||
%patch2 -p1 -b .makefile-cflags
|
%patch2 -p1 -b .makefile-cflags
|
||||||
|
%patch2 -p1 -b .makefile-cflags -d %{name}-%{version}
|
||||||
%endif
|
%endif
|
||||||
%patch3 -p1 -b .fix-x32
|
%patch3 -p1 -b .fix-x32
|
||||||
|
%patch3 -p1 -b .fix-x32 -d %{name}-%{version}
|
||||||
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag
|
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag
|
||||||
|
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag -d %{name}-%{version}
|
||||||
%patch5 -p1 -b .fix-compile-error
|
%patch5 -p1 -b .fix-compile-error
|
||||||
|
%patch5 -p1 -b .fix-compile-error -d %{name}-%{version}
|
||||||
%patch6 -p1 -b .skip-testcase
|
%patch6 -p1 -b .skip-testcase
|
||||||
|
%patch6 -p1 -b .skip-testcase -d %{name}-%{version}
|
||||||
%ifarch sw_64
|
%ifarch sw_64
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch7 -p1 -d %{name}-%{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
mv %{name}-%{version} setup-%{name}-%{version}
|
mv %{name}-%{version} setup-%{name}-%{version}
|
||||||
@ -80,6 +88,9 @@ make check
|
|||||||
%attr(0755,root,root) %{_libdir}/libaio.so
|
%attr(0755,root,root) %{_libdir}/libaio.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 2 2022 liubo<liubo254@huawei.com> - 0.3.113-4
|
||||||
|
- Sync patches to setup-libaio-%{version}-%{version} package
|
||||||
|
|
||||||
* Mon Nov 7 2022 wuzx<wuzx1226@qq.com> - 0.3.113-3
|
* Mon Nov 7 2022 wuzx<wuzx1226@qq.com> - 0.3.113-3
|
||||||
- Add sw64 architecture
|
- Add sw64 architecture
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user