From beac4b73e20e1730633536b015c2e894e297984c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 4 Mar 2014 19:35:55 +0000 Subject: [PATCH] Initial aarch64 compatibility patch. --- libaio.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libaio.spec b/libaio.spec index 75b8c6a..b9d1f4c 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,13 +1,14 @@ Name: libaio Version: 0.3.109 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Linux-native asynchronous I/O access library License: LGPLv2+ Group: System Environment/Libraries Source: ftp://ftp.kernel.org/pub/linux/libs/aio/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root + Patch1: libaio-install-to-slash.patch Patch2: libaio-sparc.patch +Patch3: libaio-aarch64.patch %description The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a @@ -34,6 +35,7 @@ for the Linux-native asynchronous I/O facility ("async I/O", or "aio"). %patch1 -p1 mv %{name}-%{version} compat-%{name}-%{version} %patch2 -p1 +%patch3 -p1 -b .aarch64 %build # A library with a soname of 1.0.0 was inadvertantly released. This @@ -54,25 +56,24 @@ cd .. make destdir=$RPM_BUILD_ROOT prefix=/ libdir=%{libdir} usrlibdir=%{usrlibdir} \ includedir=%{_includedir} install -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +find %{buildroot} -name '*.a' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root) %attr(0755,root,root) %{libdir}/libaio.so.* %doc COPYING TODO %files devel -%defattr(-,root,root) %attr(0644,root,root) %{_includedir}/* %attr(0755,root,root) %{usrlibdir}/libaio.so* -%exclude %{_libdir}/libaio.a %changelog +* Tue Mar 4 2014 Marcin Juszkiewicz - 0.3.109-9 +- Initial aarch64 compatibility patch. + * Sat Aug 03 2013 Fedora Release Engineering - 0.3.109-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild