Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libaio-0.3.111.tar.gz
SOURCES/libaio-0.3.112.tar.gz

@ -1 +1 @@
6ec2b954831d35573fd7f38e2423304eb841b50c SOURCES/libaio-0.3.111.tar.gz
bf91f82cc48528c672c752536d121e4a08f4c3e0 SOURCES/libaio-0.3.112.tar.gz

@ -1,20 +0,0 @@
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

@ -1,13 +0,0 @@
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,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,40 @@ 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
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.3.112-1
- Rebuilt for MSVSphere 8.8
* 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 +245,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 +266,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 +289,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>

Loading…
Cancel
Save