!16 add -fsigned-char to %check

Merge pull request !16 from 桐小哥/master
This commit is contained in:
openeuler-ci-bot 2021-12-22 03:13:55 +00:00 committed by Gitee
commit 87755c5000

14
m4.spec
View File

@ -1,6 +1,6 @@
Name: m4
Version: 1.4.18
Release: 16
Release: 17
Summary: A GNU implementation of macro processor
License: GPLv3+
URL: https://www.gnu.org/software/m4/
@ -30,9 +30,6 @@ This package provides help document for m4.
%build
autoreconf -ivf
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
%configure
%make_build
@ -41,6 +38,9 @@ CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
rm -rf %{buildroot}%{_infodir}/dir
%check
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
make check
%files
@ -55,6 +55,12 @@ make check
%{_infodir}/m4*
%changelog
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-17
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add -fsigned-char to %check
* Tue Aug 10 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-16
- Type:bugfix
- ID:NA