!73 Update config.guess and config.sub for loongarch.

From: @huajingyun 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-11-22 11:56:35 +00:00 committed by Gitee
commit c76afd8f00
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: redis
Version: 4.0.14
Release: 2
Release: 3
Summary: A persistent key-value database
License: BSD-3-Clause and MIT
URL: https://redis.io
@ -46,6 +46,10 @@ Redis is an advanced key-value store. It is often referred to as a dattructure s
%patch0008 -p1
%patch0009 -p1
%patch0010 -p1
%ifarch loongarch64
%_update_config_guess
%_update_config_sub
%endif
sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf
sed -i -e '$ alogfile /var/log/redis/sentinel.log' sentinel.conf
@ -103,6 +107,9 @@ exit 0
%{_unitdir}/%{name}-sentinel.service
%changelog
* Tue Nov 15 2022 huajingyun<huajingyun@loongson.cn> - 4.0.14-3
- Update config.guess and config.sub for loongarch
* Tue May 10 2022 chenchen <chen_aka_jan@163.com> - 4.0.14-2
- License compliance rectification