23 Commits

Author SHA1 Message Date
Chenxi Mao
fd6702ef6f Fix build error
error: Bad source: /home/abuild/rpmbuild/SOURCES/0007-Fix-build-error-if-compiler-is-clang.patch: No such file or directorym
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-04-12 21:02:14 +08:00
Chenxi Mao
8ead6f86eb Fix build error if compiler is clang
There is a build error if compiler is clang:
clang -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/generic-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Werror -I../src -g -O2 -Wno-stringop-overflow -DTEST_NAME=\"cases/3.t\" -o cases/3.p main.c ../src/libaio.a -lpthread
error: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Werror,-Wunknown-warning-option]

./cases/13.t:38:26: error: use of GNU old-style field designator extension [-Werror,-Wgnu-designator]
                 struct timespec ts = { tv_sec: 30, tv_nsec: 0 };
                                        ^~~~~~~
                                        .tv_sec =
./cases/13.t:38:38: error: use of GNU old-style field designator extension [-Werror,-Wgnu-designator]
                 struct timespec ts = { tv_sec: 30, tv_nsec: 0 };
                                                   ^~~~~~~~
                                                   .tv_nsec =
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-04-12 15:39:52 +08:00
laokz
5dc18669c9 remove patch2 arch-protect macro
Signed-off-by: laokz <zhangkai@iscas.ac.cn>
2023-03-17 14:44:29 +08:00
lihaoxiang
641e9a0613 remove patch 'skip testcase 23'
Signed-off-by: lihaoxiang <lihaoxiang9@huawei.com>
2023-01-12 20:31:39 -05:00
Chenxi Mao
6d6100a3e3 Remove useless shared library
Current RPM package includes two shared libraries,
the libaio.so.1.0.0 is a workaround file that is used to compatible
with old products.
Our product doesn't need this workaround, so remove it.

Reference: bsn#318
Change-Id: I60275dcff135ea7ddba6ffb3b03ff945889c4f63
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2022-12-12 10:33:54 +08:00
liubo
49192a1561 sync patches to setup-libaio-%{version} package
The libaio software package contains two groups
of source code, which ara used to generate
different so library files.
sync patches to setup-libaio-%{version} package.

Signed-off-by: liubo <liubo254@huawei.com>
2022-12-02 14:36:26 +08:00
wzx
74d7cb85b5 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-07 15:36:04 +08:00
wangzhiqiang
e73cc1efec skip testcase 23 since current kernel version not support
current kernel version of obs not support run testcase 23,
so skip it to avoild build error.
issue: https://gitee.com/src-openeuler/libaio/issue/I5XELL

(cherry picked from commit ca1050fd25fcf9e8ffdbfa4a8ef6cded65ccd3f5)
2022-11-04 15:48:53 +08:00
wangzhiqiang
e12bddac70 update to 0.3-113 2022-11-01 15:01:36 +08:00
lihaoxiang
9f0756cf96 add 0005-Fix-compile-error-that-exec-checking-need-super-priv.patch 2022-06-24 20:50:39 +08:00
Li Jinlin
1e083192c0 fix patch4 not apply 2022-05-12 19:53:18 +08:00
linfeilong
a115025700 addD_FORTIFY_SOURCEflagtoMakefileforsecurity 2021-12-01 11:39:42 +08:00
Li Jinlin
74f1176358 enable %check option 2021-09-26 18:01:31 +08:00
volcanodragon
6889ac2753 update to 0.3.112 and fix 4 2020-07-20 11:57:33 +08:00
volcanodragon
d5398ff1ea update to 0.3.112 and fix 3 2020-07-20 11:43:56 +08:00
volcanodragon
2c8df21f1a update to 0.3.112 and fix 2 2020-07-20 11:31:15 +08:00
volcanodragon
f8d704c8da update to 0.3.112 and fix 2020-07-20 11:21:14 +08:00
volcanodragon
04de86821f update to 0.3.112 2020-07-18 17:24:39 +08:00
wuguanghao
ad0f1b907d rebuild package 2020-07-02 09:36:41 +08:00
wuguanghao
7f54866a0c rebuild package 2020-07-02 08:57:37 +08:00
Wu Bo
b6dd65ccc7 rebuild package 2020-07-01 14:45:23 +08:00
hy
afb09031d7 Add secure compilation options for x86_64 in libaio.spec. 2020-03-17 15:14:20 +08:00
overweight
050e9d9b0f Package init 2019-09-30 10:54:47 -04:00