Compare commits
No commits in common. "c8s" and "c9" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
SOURCES/libaio-0.3.112.tar.gz
|
||||
/libaio-0.3.112.tar.gz
|
||||
SOURCES/libaio-0.3.111.tar.gz
|
||||
|
||||
1
.libaio.metadata
Normal file
1
.libaio.metadata
Normal file
@ -0,0 +1 @@
|
||||
6ec2b954831d35573fd7f38e2423304eb841b50c SOURCES/libaio-0.3.111.tar.gz
|
||||
20
SOURCES/libaio-install-to-destdir-slash-usr.patch
Normal file
20
SOURCES/libaio-install-to-destdir-slash-usr.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -up libaio-0.3.111/src/Makefile.orig libaio-0.3.111/src/Makefile
|
||||
--- libaio-0.3.111/src/Makefile.orig 2018-03-06 17:24:47.000000000 -0500
|
||||
+++ libaio-0.3.111/src/Makefile 2018-03-07 10:44:49.148004447 -0500
|
||||
@@ -53,11 +53,11 @@ $(libname): $(libaio_sobjs) libaio.map
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
||||
|
||||
install: $(all_targets)
|
||||
- install -D -m 644 libaio.h $(includedir)/libaio.h
|
||||
- install -D -m 644 libaio.a $(libdir)/libaio.a
|
||||
- install -D -m 755 $(libname) $(libdir)/$(libname)
|
||||
- ln -sf $(libname) $(libdir)/$(soname)
|
||||
- ln -sf $(libname) $(libdir)/libaio.so
|
||||
+ install -D -m 644 libaio.h $(destdir)$(includedir)/libaio.h
|
||||
+ install -D -m 644 libaio.a $(destdir)$(usrlibdir)/libaio.a
|
||||
+ install -D -m 755 $(libname) $(destdir)$(usrlibdir)/$(libname)
|
||||
+ ln -sf $(libname) $(destdir)$(usrlibdir)/$(soname)
|
||||
+ ln -sf $(libname) $(destdir)$(usrlibdir)/libaio.so
|
||||
|
||||
$(libaio_objs): libaio.h
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index eadb336..5911c81 100644
|
||||
--- libaio-0.3.111/src/Makefile
|
||||
+++ libaio-0.3.111/src/Makefile
|
||||
@@ -3,7 +3,7 @@ includedir=$(prefix)/include
|
||||
libdir=$(prefix)/lib
|
||||
|
||||
CFLAGS ?= -g -fomit-frame-pointer -O2
|
||||
-CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
|
||||
+CFLAGS += -Wall -I. -fPIC
|
||||
SO_CFLAGS=-shared $(CFLAGS)
|
||||
L_CFLAGS=$(CFLAGS)
|
||||
LINK_FLAGS=
|
||||
@ -1,10 +1,15 @@
|
||||
Name: libaio
|
||||
Version: 0.3.112
|
||||
Release: 1%{?dist}
|
||||
Version: 0.3.111
|
||||
Release: 13%{?dist}
|
||||
Summary: Linux-native asynchronous I/O access library
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: https://releases.pagure.org/libaio/%{name}-%{version}.tar.gz
|
||||
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
|
||||
|
||||
%description
|
||||
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
|
||||
@ -19,8 +24,7 @@ require the Linux-native async I/O API.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for Linux-native asynchronous I/O access
|
||||
Group: Development/System
|
||||
Requires: libaio
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides header files to include and libraries to link with
|
||||
@ -28,9 +32,17 @@ 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
|
||||
@ -42,37 +54,69 @@ 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 install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir} \
|
||||
includedir=%{_includedir}
|
||||
make destdir=$RPM_BUILD_ROOT prefix=/ libdir=%{libdir} usrlibdir=%{usrlibdir} \
|
||||
includedir=%{_includedir} install
|
||||
|
||||
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
find %{buildroot} -name '*.a' -delete
|
||||
|
||||
%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 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
|
||||
* 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
|
||||
|
||||
* Wed Sep 26 2018 Jeff Moyer <jmoyer@redhat.com> - 0.3.110-12.el8
|
||||
* 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
|
||||
|
||||
* 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
|
||||
- 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
|
||||
|
||||
@ -242,7 +286,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
- change a #include from <linux/types.h> to <sys/types.h>. Fixes a build
|
||||
issue on s390.
|
||||
|
||||
* Wed Jul 7 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3
|
||||
* Wed Jul 9 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
|
||||
@ -263,7 +307,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
- add powerpc support from Gianni Tedesco <gianni@ecsc.co.uk>
|
||||
- add s/390 support from Arnd Bergmann <arnd@bergmann-dalldorf.de>
|
||||
|
||||
* Fri Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
||||
* Fri Sep 13 2002 Benjamin LaHaise <bcrl@redhat.com>
|
||||
- libaio 0.3.92 test release
|
||||
- build on x86-64
|
||||
|
||||
@ -286,7 +330,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
* Mon Apr 15 2002 Tim Powers <timp@redhat.com>
|
||||
- make the post scriptlet not use /bin/sh
|
||||
|
||||
* Sat Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
||||
* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
||||
- add /lib/libredhat-kernel* to %%files.
|
||||
|
||||
* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.openstack-tier1-gating.functional}
|
||||
Loading…
Reference in New Issue
Block a user