diff --git a/postgresql.spec b/postgresql.spec index db18af77580067137a6629fab58a229d63a7a94d..7c969efdc4b258318789e56af3493579781c2530 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -1,6 +1,6 @@ %{!?beta:%global beta 0} %{!?test:%global test 1} -%ifarch riscv64 +%ifarch riscv64 loongarch64 # Fail to pass tests on riscv64 %{!?llvmjit:%global llvmjit 0} %else @@ -36,7 +36,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 13 Version: %{majorversion}.3 -Release: 7 +Release: 8 # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -428,7 +428,7 @@ export CFLAGS # since that's still considered the default plpython version. common_configure_options=' --disable-rpath -%ifarch riscv64 +%ifarch riscv64 loongarch64 --disable-spinlocks %endif %if %beta @@ -620,7 +620,7 @@ upgrade_configure () --host=%{_host} \ --prefix=%prev_prefix \ --disable-rpath \ -%ifarch riscv64 +%ifarch riscv64 loongarch64 --disable-spinlocks \ %endif %if %beta @@ -1248,6 +1248,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Tue Apr 18 2023 Wenlong Zhang - 13.3-8 +- Fix build error for loongarch64 + * Tue Oct 25 2022 wuzx - 13.3-7 - Add sw64 architecture