diff --git a/_service b/_service
deleted file mode 100644
index 7915530..0000000
--- a/_service
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- git
- https://pagure.io/libaio.git
-
- libaio
- 0.3.112
- 0.3.112+@TAG_OFFSET@.%h
- libaio-0.3.[0-9]*
- enable
- 696a5e6483ba
-
-
- *libaio*.tar
- xz
-
-
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index e1d618f..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- https://pagure.io/libaio.git
- 696a5e6483baa3a9e4eb83e5db5838d571c90ec9
\ No newline at end of file
diff --git a/fix-splice-signature.patch b/fix-splice-signature.patch
new file mode 100644
index 0000000..6c95d89
--- /dev/null
+++ b/fix-splice-signature.patch
@@ -0,0 +1,22 @@
+submitted as https://pagure.io/libaio/issue/21
+
+--- libaio-libaio-0.3.113.orig/harness/cases/23.t
++++ libaio-libaio-0.3.113/harness/cases/23.t
+@@ -72,7 +72,7 @@ static void fail_errno(const char *forma
+ static void *thrproc2(void *arg)
+ {
+ for (;;) {
+- off_t offset = 0;
++ off64_t offset = 0;
+
+ pthread_barrier_wait(&barrier);
+ if (exiting)
+@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
+ {
+ for (;;) {
+ char c;
+- off_t offset = 0;
++ off64_t offset = 0;
+
+ pthread_barrier_wait(&barrier);
+ if (exiting)
diff --git a/libaio-0.3.112+29.696a5e6483ba.tar.xz b/libaio-0.3.112+29.696a5e6483ba.tar.xz
deleted file mode 100644
index ee3f83c..0000000
--- a/libaio-0.3.112+29.696a5e6483ba.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a5bc83a089521c3b1aa85efa7406705b58662e4020f6e6fff6e4ccb280766743
-size 38692
diff --git a/libaio-libaio-0.3.113.tar.gz b/libaio-libaio-0.3.113.tar.gz
new file mode 100644
index 0000000..7abe0af
--- /dev/null
+++ b/libaio-libaio-0.3.113.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:716c7059703247344eb066b54ecbc3ca2134f0103307192e6c2b7dab5f9528ab
+size 49061
diff --git a/libaio.changes b/libaio.changes
index c3ed9f5..5ce764d 100644
--- a/libaio.changes
+++ b/libaio.changes
@@ -1,3 +1,21 @@
+-------------------------------------------------------------------
+Tue Jul 12 15:18:49 UTC 2022 - Dirk Müller
+
+- add fix-splice-signature.patch to fix build on 32bit
+
+-------------------------------------------------------------------
+Thu Apr 28 21:17:32 UTC 2022 - Dirk Müller
+
+- update to 0.3.113:
+ * cases/16.t: loongarch only supports eventfd2
+ * Add loongarch to supported architectures in libaio.spec
+ * Add endian detection and bit width detection for loongarch
+ * Use generic syscall number schema for loongarch
+ * Fix struct io_iocb_vector padding for 32bit architectures
+ * struct io_iocb_sockaddr padding for 32bit architectures
+ * Verify structure padding is correct at build time
+ * harness: add test for aio poll missed events
+
-------------------------------------------------------------------
Mon Feb 15 18:16:26 UTC 2021 - lduncan@suse.com
diff --git a/libaio.spec b/libaio.spec
index 3d95cbf..216ff06 100644
--- a/libaio.spec
+++ b/libaio.spec
@@ -1,7 +1,7 @@
#
# spec file for package libaio
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,15 @@
%define lname libaio1
Name: libaio
-Version: 0.3.112+29.696a5e6483ba
+Version: 0.3.113
Release: 0
Summary: Linux-Native Asynchronous I/O Access Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://pagure.io/libaio
-Source: libaio-%{version}.tar.xz
+Source: https://pagure.io/libaio/archive/libaio-%{version}/libaio-libaio-%{version}.tar.gz
Source2: baselibs.conf
+Patch1: fix-splice-signature.patch
%description
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
@@ -61,17 +62,18 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
"aio").
%prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
+%patch1 -p1
%build
-make %{?_smp_mflags} OPTFLAGS="%{optflags}"
+%make_build OPTFLAGS="%{optflags}"
%install
%make_install libdir=%{_libdir}
rm %{buildroot}%{_libdir}/*.a
%check
-make %{?_smp_mflags} partcheck
+%make_build OPTFLAGS="%{optflags}" partcheck
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig