|
|
|
@ -1,15 +1,10 @@
|
|
|
|
|
Name: libaio
|
|
|
|
|
Version: 0.3.111
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Version: 0.3.112
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Linux-native asynchronous I/O access library
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Source: http://releases.pagure.org/libaio/libaio-0.3.111.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: libaio-install-to-destdir-slash-usr.patch
|
|
|
|
|
Patch2: libaio-remove-nostartfiles-nostdlib-from-build-flags.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
Source: https://releases.pagure.org/libaio/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
|
|
|
|
@ -24,7 +19,8 @@ require the Linux-native async I/O API.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for Linux-native asynchronous I/O access
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Group: Development/System
|
|
|
|
|
Requires: libaio
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides header files to include and libraries to link with
|
|
|
|
@ -32,17 +28,9 @@ for the Linux-native asynchronous I/O facility ("async I/O", or "aio").
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -a 0
|
|
|
|
|
%patch1 -p0 -b .install-to-destdir-slash-usr
|
|
|
|
|
%patch1 -p1 -b .install-to-destdir-slash-usr
|
|
|
|
|
%patch2 -p0 -b .nostdlib
|
|
|
|
|
%patch2 -p1 -b .nostdlib
|
|
|
|
|
mv %{name}-%{version} compat-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# This package uses ASMs to implement symbol versioning and is thus
|
|
|
|
|
# incompatible with LTO
|
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
|
|
|
|
|
# A library with a soname of 1.0.0 was inadvertantly released. This
|
|
|
|
|
# build process builds a version of the library with the broken soname in
|
|
|
|
|
# the compat-libaio-0.3.103 directory, and then builds the library again
|
|
|
|
@ -54,69 +42,37 @@ cd ..
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
cd compat-%{name}-%{version}
|
|
|
|
|
install -D -m 755 src/libaio.so.1.0.0 \
|
|
|
|
|
$RPM_BUILD_ROOT/%{usrlibdir}/libaio.so.1.0.0
|
|
|
|
|
cd ..
|
|
|
|
|
make destdir=$RPM_BUILD_ROOT prefix=/ libdir=%{libdir} usrlibdir=%{usrlibdir} \
|
|
|
|
|
includedir=%{_includedir} install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir} \
|
|
|
|
|
includedir=%{_includedir}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.a' -delete
|
|
|
|
|
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%attr(0755,root,root) %{usrlibdir}/libaio.so.*
|
|
|
|
|
%doc COPYING TODO
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%attr(0644,root,root) %{_includedir}/*
|
|
|
|
|
%attr(0755,root,root) %{usrlibdir}/libaio.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.111-13
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.111-12
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 07 2020 Jeff Law <law@redhat.com> - 0.3.111-10
|
|
|
|
|
- Disable LTO
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-9
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
* Mon Jun 3 2019 Jeff Moyer <jmoyer@redhat.com> - 0.3.112-1.el8
|
|
|
|
|
- rebase to 0.3.112
|
|
|
|
|
- main feature: async poll support
|
|
|
|
|
- Resolves: rhbz#1645556
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2019 Paolo Bonzini <pbonzini@redhat.com> - 0.3.111-5
|
|
|
|
|
* Wed Sep 26 2018 Jeff Moyer <jmoyer@redhat.com> - 0.3.110-12.el8
|
|
|
|
|
- Pass in the distro-provided CFLAGS and LFLAGS. (Jeff Moyer)
|
|
|
|
|
- Get rid of -nostartfiles -nostdlib (Jeff Moyer)
|
|
|
|
|
- Resolves: rhbz#1630578
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 17 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.111-3
|
|
|
|
|
- Spec cleanup
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.111-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 07 2018 Jeff Moyer <jmoyer@redhat.com> - 0.3.111-1
|
|
|
|
|
- import 0.3.111, which adds support for preadv2,pwritev2, riscv (Jeff Moyer)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.110-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -286,7 +242,7 @@ find %{buildroot} -name '*.a' -delete
|
|
|
|
|
- change a #include from <linux/types.h> to <sys/types.h>. Fixes a build
|
|
|
|
|
issue on s390.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 9 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3
|
|
|
|
|
* Wed Jul 7 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3
|
|
|
|
|
- fix paths on lib64 arches
|
|
|
|
|
|
|
|
|
|
* Wed Jun 18 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.96-2
|
|
|
|
@ -307,7 +263,7 @@ find %{buildroot} -name '*.a' -delete
|
|
|
|
|
- add powerpc support from Gianni Tedesco <gianni@ecsc.co.uk>
|
|
|
|
|
- add s/390 support from Arnd Bergmann <arnd@bergmann-dalldorf.de>
|
|
|
|
|
|
|
|
|
|
* Fri Sep 13 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
|
|
* Fri Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
|
|
- libaio 0.3.92 test release
|
|
|
|
|
- build on x86-64
|
|
|
|
|
|
|
|
|
@ -330,7 +286,7 @@ find %{buildroot} -name '*.a' -delete
|
|
|
|
|
* Mon Apr 15 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- make the post scriptlet not use /bin/sh
|
|
|
|
|
|
|
|
|
|
* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
|
|
* Sat Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
|
|
- add /lib/libredhat-kernel* to %%files.
|
|
|
|
|
|
|
|
|
|
* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
|
|