From b4ed6c00851d4ff1307283e0d9645c1cbaa19694 Mon Sep 17 00:00:00 2001 From: zhailiangliang Date: Sat, 6 Jul 2024 02:39:01 +0000 Subject: [PATCH] Remove macro loongarch64 for avoiding not finding loongarch patch --- openresty-valgrind.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/openresty-valgrind.spec b/openresty-valgrind.spec index f9f85cc..4e73e7c 100644 --- a/openresty-valgrind.spec +++ b/openresty-valgrind.spec @@ -6,15 +6,13 @@ Summary: The Valgrind debug version of OpenResty Name: openresty-valgrind Version: 1.21.4.3 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD URL: https://openresty.org/ Source0: https://openresty.org/download/openresty-%{version}.tar.gz -%ifarch loongarch64 Patch3000: add-loongarch-support.patch -%endif BuildRequires: gcc, make, perl, valgrind-devel, systemtap-sdt-devel BuildRequires: ccache, perl-File-Temp @@ -52,8 +50,10 @@ a single box. %prep -%autosetup -p1 -n "openresty-%{version}" - +%setup -n "openresty-%{version}" +%ifarch loongarch64 +%patch3000 -p1 +%endif %build ./configure \ @@ -134,6 +134,10 @@ export QA_RPATHS=$[ 0x0002 ] %changelog +* Sat Jul 06 2024 Liangliang Zhai - 1.21.4.3-6 +- [Type] other +- [DESC] Remove macro loongarch64 for avoiding not finding loongarch patch + * Tue Jun 11 2024 Liangliang Zhai - 1.21.4.3-5 - [Type] other - [DESC] add loongarch support -- Gitee