diff --git a/chatglm.cpp.spec b/chatglm.cpp.spec
index 32cc5b486d58982ded0b0de7ae219909bf3d426c..2d4fd02db71d1057632f8b4663ee0cdaff915149 100644
--- a/chatglm.cpp.spec
+++ b/chatglm.cpp.spec
@@ -2,16 +2,14 @@
 
 Name:       chatglm-cpp
 Version:    0.2.4
-Release:    5
+Release:    6
 License:    MIT
 Summary:    Port of Chinese lagre model ChatGLM-6B & ChatGLM2-6B implemented based on C/C++
 
 URL:            https://github.com/li-plus/chatglm.cpp
 Source0:        https://github.com/li-plus/chatglm.cpp/releases/download/0.2.4/chatglm-cpp-%{version}.tar.gz
 
-%ifarch loongarch64
 Patch0:        0001-Fix-build-error-for-loongarch64.patch
-%endif
 
 BuildRequires:  gcc,gcc-c++,cmake
 Requires:       sentencepiece
@@ -51,6 +49,9 @@ popd
 /usr/lib/static/libggml.a
 
 %changelog
+* Mon Dec 09 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 0.2.4-6
+- include all patches in the source package.
+
 * Fri May 17 2024 zhangzikang <zhangzikang@kylinos.cn> - 0.2.4-5
 - Fix build error for loongarch64