Hello community, here is the log from the commit of package libaio for openSUSE:Factory checked in at 2019-08-08 14:21:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libaio (Old) and /work/SRC/openSUSE:Factory/.libaio.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libaio" Thu Aug 8 14:21:53 2019 rev:36 rq:720175 version:0.3.112 Changes: -------- --- /work/SRC/openSUSE:Factory/libaio/libaio.changes 2019-04-30 12:55:48.606210681 +0200 +++ /work/SRC/openSUSE:Factory/.libaio.new.9556/libaio.changes 2019-08-08 14:21:55.624362613 +0200 @@ -1,0 +2,19 @@ +Wed Jul 31 12:37:41 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 0.3.112: + * Various patches for architectures/etc +- Update url +- Update install +- Enable tests +- Remove mostly merged patches or differently fixed issues: + * libaio-aarch64-support.diff + * libaio-generic-arch.diff + * libaio-optflags.diff + * 00_arches.patch + * 00_arches_sh.patch + * 01_link_libgcc.patch + * 02_libdevdir.patch + * 03_man_errors.patch + * riscv-support.patch + +------------------------------------------------------------------- Old: ---- 00_arches.patch 00_arches_sh.patch 01_link_libgcc.patch 02_libdevdir.patch 03_man_errors.patch libaio-0.3.109.tar.bz2 libaio-aarch64-support.diff libaio-generic-arch.diff libaio-optflags.diff riscv-support.patch New: ---- libaio-0.3.112.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libaio.spec ++++++ --- /var/tmp/diff_new_pack.Klsnwc/_old 2019-08-08 14:21:56.788362435 +0200 +++ /var/tmp/diff_new_pack.Klsnwc/_new 2019-08-08 14:21:56.788362435 +0200 @@ -16,31 +16,16 @@ # -Name: libaio %define lname libaio1 -# bug437293 -%ifarch ppc64 -Obsoletes: libaio-64bit -%endif -# -Version: 0.3.109 +Name: libaio +Version: 0.3.112 Release: 0 Summary: Linux-Native Asynchronous I/O Access Library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://kernel.org/pub/linux/libs/aio/ -Source: libaio-%{version}.tar.bz2 +URL: https://pagure.io/libaio +Source: https://releases.pagure.org/libaio/libaio-%{version}.tar.gz Source2: baselibs.conf -Patch2: libaio-optflags.diff -Patch3: 00_arches.patch -Patch4: 00_arches_sh.patch -Patch5: 01_link_libgcc.patch -Patch6: 02_libdevdir.patch -Patch7: 03_man_errors.patch -Patch8: libaio-aarch64-support.diff -Patch9: libaio-generic-arch.diff -Patch10: riscv-support.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Linux-native asynchronous I/O facility ("async I/O", or "aio") has @@ -50,14 +35,13 @@ kernel-accelerated async I/O capabilities, as do applications that require the Linux-native async I/O API. -%package -n %lname +%package -n %{lname} Summary: Linux-Native Asynchronous I/O Access Library -# O/P added 2011-11-27 Group: System/Libraries -Obsoletes: libaio < %version-%release -Provides: libaio = %version-%release +Obsoletes: libaio < %{version}-%{release} +Provides: libaio = %{version}-%{release} -%description -n %lname +%description -n %{lname} 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. This library provides the Linux-native API for async I/O. The @@ -68,58 +52,36 @@ %package devel Summary: Development Files for Linux-native Asynchronous I/O Access Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} Requires: glibc-devel -# bug437293 -%ifarch ppc64 -Obsoletes: libaio-devel-64bit -%endif -# %description devel This package provides header files to include, and libraries to link with, for the Linux-native asynchronous I/O facility ("async I/O", or "aio"). - - %prep %setup -q -%patch2 -p1 -%patch -p1 -P 3 -P 4 -P 5 -P 6 -P 7 -%patch8 -%patch9 -%patch10 -p1 %build -%define _lto_cflags %{nil} -make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} OPTFLAGS="%{optflags}" %install -make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib} -%if "%_lib" == "lib64" -mv "%buildroot/usr/lib" "%buildroot/usr/lib64" -%endif -rm -f "%buildroot/%_libdir"/*.a -# Strip dumb /usr/src/... off -t=$(readlink -f "%buildroot/%_lib/libaio.so.1") -ln -fs "${t##*/}" "%buildroot/%_lib/libaio.so.1" -t=$(readlink -f "%buildroot/%_libdir/libaio.so") -ln -fs "${t#%buildroot}" "%buildroot/%_libdir/libaio.so" +%make_install libdir=%{_libdir} +rm %{buildroot}%{_libdir}/*.a -%post -n %lname -p /sbin/ldconfig +%check +make %{?_smp_mflags} partcheck -%postun -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %lname -%defattr(644,root,root,755) +%files -n %{lname} %license COPYING -%doc TODO -%attr(0755,root,root) /%{_lib}/libaio.* +%{_libdir}/libaio.so.* %files devel -%defattr(644,root,root,755) -/usr/include/libaio.h -%_libdir/libaio.so +%{_includedir}/libaio.h +%{_libdir}/libaio.so %changelog
