!76 修复autoconf版本不同,解析异常

From: @hengliue 
Reviewed-by: @zhang_xubo 
Signed-off-by: @zhang_xubo
This commit is contained in:
openeuler-ci-bot 2024-12-18 01:11:58 +00:00 committed by Gitee
commit a46663f67d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 17365 additions and 2 deletions

17358
krb-configure Normal file

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@
Name: opengauss
Version: 6.0.0
Release: 20
Release: 21
Summary: openGauss is an open source relational database management system
License: MulanPSL-2.0 and MIT and BSD and zlib and TCL and Apache-2.0 and BSL-1.0
URL: https://gitee.com/opengauss/openGauss-server
@ -32,6 +32,7 @@ Source25: opengauss_upgrade_common.sh
Source26: opengauss_upgrade_config.sh
Source27: opengauss_upgrade_errorcode.sh
Source28: upgrade.sh
Source29: krb-configure
Patch0: og-cmake.patch
Patch1: og-delete-obs.patch
@ -109,7 +110,8 @@ pushd %{krb5_name}-%{krb5_name}-%{krb5_version}
krb5_dir=${build_target}/kerberos/comm
cd src
autoconf; autoheader; sed -i 's/lcom_err/lcom_err_gauss/g' configure
rm -rf configure; cp %{SOURCE29} ./configure
autoheader; chmod +x configure; sed -i 's/lcom_err/lcom_err_gauss/g' configure
./configure --prefix=${krb5_dir} LDFLAGS='-Wl,-z,relro,-z,now' CFLAGS='-fstack-protector-strong -fPIC' --disable-rpath --disable-pkinit --with-system-verto=no
make -s %{?_smp_mflags}
@ -464,6 +466,9 @@ fi
%changelog
* Sat Dec 14 2024 liuheng <liuheng76@huawei.com> - 6.0.0-21
- Fix different versions of autoconf and resolve exceptions
* Fri Dec 13 2024 liuheng <liuheng76@huawei.com> - 6.0.0-20
- Fix bugs: #IBB3VO