!29 Delete the code that adapts to lib/autoconf/c.m4
From: @fly_fzc Reviewed-by: @jiayi0118 Signed-off-by: @jiayi0118
This commit is contained in:
commit
19964983dc
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: autoconf
|
Name: autoconf
|
||||||
Version: 2.71
|
Version: 2.71
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: An extensible package to automatically configure software source code packages
|
Summary: An extensible package to automatically configure software source code packages
|
||||||
License: GPLv2+ and GPLv3+ and GFDL-1.3-only
|
License: GPLv2+ and GPLv3+ and GFDL-1.3-only
|
||||||
URL: https://www.gnu.org/software/%{name}/
|
URL: https://www.gnu.org/software/%{name}/
|
||||||
@ -40,13 +40,6 @@ export EMACS=%{_bindir}/emacs
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
echo 'main() {}' | g++ -E -v - > g++.log 2>&1
|
|
||||||
grep -rn -m 1 COLLECT_GCC_OPTIONS g++.log > option.log
|
|
||||||
GCC_OPTION=`cat option.log`
|
|
||||||
if [[ $GCC_OPTION != *"fsigned-char"* ]];then
|
|
||||||
sed -i "s|((char) -1) < 0|((unsigned char) -1) < 0|g" lib/autoconf/c.m4
|
|
||||||
fi
|
|
||||||
rm -rf g++.log option.log
|
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -79,6 +72,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 13 2024 fuanan <fuanan3@h-partners.com> - 2.71-7
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Delete the code that adapts to lib/autoconf/c.m4
|
||||||
|
|
||||||
* Wed Jun 12 2024 fuanan <fuanan3@h-partners.com> - 2.71-6
|
* Wed Jun 12 2024 fuanan <fuanan3@h-partners.com> - 2.71-6
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user