diff --git a/libaio.spec b/libaio.spec index 3a06f5f..614b66a 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,13 +1,14 @@ Name: libaio Version: 0.3.111 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Linux-native asynchronous I/O access library License: LGPLv2+ -Group: System Environment/Libraries Source: http://releases.pagure.org/libaio/libaio-0.3.111.tar.gz Patch1: libaio-install-to-destdir-slash-usr.patch +BuildRequires: gcc + %description The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a richer API and capability set than the simple POSIX async I/O facility. @@ -21,8 +22,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 @@ -45,7 +45,6 @@ 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 @@ -53,19 +52,22 @@ cd .. 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 +* Tue Jul 17 2018 Peter Robinson 0.3.111-3 +- Spec cleanup + * Fri Jul 13 2018 Fedora Release Engineering - 0.3.111-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild @@ -241,7 +243,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' - change a #include from to . Fixes a build issue on s390. -* Wed Jul 7 2003 Bill Nottingham 0.3.96-3 +* Wed Jul 9 2003 Bill Nottingham 0.3.96-3 - fix paths on lib64 arches * Wed Jun 18 2003 Michael K. Johnson 0.3.96-2 @@ -262,7 +264,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' - add powerpc support from Gianni Tedesco - add s/390 support from Arnd Bergmann -* Fri Sep 12 2002 Benjamin LaHaise +* Fri Sep 13 2002 Benjamin LaHaise - libaio 0.3.92 test release - build on x86-64 @@ -285,7 +287,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' * Mon Apr 15 2002 Tim Powers - make the post scriptlet not use /bin/sh -* Sat Apr 12 2002 Benjamin LaHaise +* Fri Apr 12 2002 Benjamin LaHaise - add /lib/libredhat-kernel* to %%files. * Fri Apr 12 2002 Benjamin LaHaise