add -fsigned-char to %check

This commit is contained in:
shixuantong 2021-12-21 21:00:41 +08:00
parent 0dda3ff8c8
commit 9c9ae374ee

View File

@ -1,7 +1,7 @@
Name: findutils Name: findutils
Epoch: 2 Epoch: 2
Version: 4.8.0 Version: 4.8.0
Release: 1 Release: 2
Summary: The GNU Find Utilities Summary: The GNU Find Utilities
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/findutils/ URL: http://www.gnu.org/software/findutils/
@ -41,14 +41,14 @@ xargs - build and execute command lines from standard input
autoreconf -fiv autoreconf -fiv
%build %build
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
%configure %configure
%make_build %make_build
%check %check
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
make check make check
%install %install
@ -94,6 +94,12 @@ fi
%exclude %{_mandir}/man5/locatedb.5* %exclude %{_mandir}/man5/locatedb.5*
%changelog %changelog
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 2:4.8.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add -fsigned-char to %check
* Mon Aug 30 2021 shixuantong <shixuantong@huawei.com> - 2:4.8.0-1 * Mon Aug 30 2021 shixuantong <shixuantong@huawei.com> - 2:4.8.0-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA