Accepting request 988698 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/988698 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libaio?expand=0&rev=39
This commit is contained in:
commit
e40fe10b1e
17
_service
17
_service
@ -1,17 +0,0 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://pagure.io/libaio.git</param>
|
||||
<param name="subdir"></param>
|
||||
<param name="filename">libaio</param>
|
||||
<param name="version">0.3.112</param>
|
||||
<param name="versionformat">0.3.112+@TAG_OFFSET@.%h</param>
|
||||
<param name="match-tag">libaio-0.3.[0-9]*</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">696a5e6483ba</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*libaio*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://pagure.io/libaio.git</param>
|
||||
<param name="changesrevision">696a5e6483baa3a9e4eb83e5db5838d571c90ec9</param></service></servicedata>
|
22
fix-splice-signature.patch
Normal file
22
fix-splice-signature.patch
Normal file
@ -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)
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a5bc83a089521c3b1aa85efa7406705b58662e4020f6e6fff6e4ccb280766743
|
||||
size 38692
|
BIN
libaio-libaio-0.3.113.tar.gz
(Stored with Git LFS)
Normal file
BIN
libaio-libaio-0.3.113.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 12 15:18:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add fix-splice-signature.patch to fix build on 32bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 21:17:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
14
libaio.spec
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user