From 316157b93cb3267f9ff844ef3a5b3c5c8747ff0f Mon Sep 17 00:00:00 2001 From: zhailiangliang Date: Wed, 12 Jun 2024 02:47:18 +0000 Subject: [PATCH] Fix build error for loongarch64 --- postgresql16-pg_squeeze.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/postgresql16-pg_squeeze.spec b/postgresql16-pg_squeeze.spec index dd74806..2dd4d3b 100644 --- a/postgresql16-pg_squeeze.spec +++ b/postgresql16-pg_squeeze.spec @@ -1,12 +1,16 @@ %global sname pg_squeeze %global pgsqueezerelversion %%(echo %{version} | tr '.' '_') +%ifarch loongarch64 +%global llvm 0 +%else %global llvm 1 +%endif %global pgmajorversion 16 Summary: A PostgreSQL extension for automatic bloat cleanup Name: postgresql%{pgmajorversion}-%{sname} Version: 1.6.2 -Release: 1%{?dist} +Release: 2%{?dist} License: PostgreSQL Source0: https://github.com/cybertec-postgresql/pg_squeeze/archive/REL%{pgsqueezerelversion}.tar.gz URL: https://github.com/cybertec-postgresql/%{sname} @@ -61,5 +65,9 @@ rm -f %{buildroot}/%{_docdir}/pgsql/extension/%{sname}.md %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