Initial aarch64 compatibility patch.

This commit is contained in:
Peter Robinson 2014-03-04 19:35:55 +00:00
parent 0820c5c636
commit beac4b73e2

View File

@ -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 <mjuszkiewicz@redhat.com> - 0.3.109-9
- Initial aarch64 compatibility patch.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.109-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild