From 851e929cc5f1aedad63aa20b78b6d43ac1fcabbc Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Thu, 13 Jun 2024 10:55:48 +0800 Subject: [PATCH] Delete the code that adapts to lib/autoconf/c.m4 --- autoconf.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/autoconf.spec b/autoconf.spec index 31816fd..a2ec5f1 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -3,7 +3,7 @@ Name: autoconf Version: 2.71 -Release: 5 +Release: 6 Summary: An extensible package to automatically configure software source code packages License: GPLv2+ and GPLv3+ and GFDL-1.3-only URL: https://www.gnu.org/software/%{name}/ @@ -34,13 +34,6 @@ can use, in the form of M4 macro calls. %prep %autosetup -n %{name}-%{version} -p1 -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 %build export EMACS=%{_bindir}/emacs @@ -80,6 +73,9 @@ fi %changelog +* Thu Jun 13 2024 fuanan - 2.71-6 +- Delete the code that adapts to lib/autoconf/c.m4 + * Tue May 14 2024 Ge Wang - 2.71-5 - Adapt signed-char check macro for default unsigned evironment -- Gitee