From 11468ca27379a486a1f349746e85e60b8f9c366c Mon Sep 17 00:00:00 2001 From: zhailiangliang Date: Wed, 12 Jun 2024 02:01:40 +0000 Subject: [PATCH] Fix build error for loongarch64 --- postgresql16-pg_cron.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/postgresql16-pg_cron.spec b/postgresql16-pg_cron.spec index 8577f70..da4eba2 100644 --- a/postgresql16-pg_cron.spec +++ b/postgresql16-pg_cron.spec @@ -1,11 +1,15 @@ %global sname pg_cron +%ifarch loongarch64 +%global llvm 0 +%else %global llvm 1 +%endif %global pgmajorversion 16 Summary: Run periodic jobs in PostgreSQL Name: postgresql%{pgmajorversion}-%{sname} Version: 1.6.2 -Release: 1%{dist} +Release: 2%{dist} License: AGPLv3 URL: https://github.com/citusdata/%{sname} Source0: https://github.com/citusdata/%{sname}/archive/v%{version}.tar.gz @@ -60,5 +64,9 @@ This packages provides JIT support for pg_cron %endif %changelog +* Wed Jun 12 2024 Zhai Liangliang - 1.6.2-2 +- [Type] other +- [DESC] Fix build error for loongarch64 + * Fri Apr 12 2024 Wang Guodong - 1.6.2-1 - init build -- Gitee