From dc219f7d7502dec0098da9a6e5e5422945de2f2a Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 13 Mar 2023 10:55:41 +0800 Subject: [PATCH] fix build error for loongarch64 Signed-off-by: Wenlong Zhang --- objectweb-asm.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/objectweb-asm.spec b/objectweb-asm.spec index 0d408fa..6592f21 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -1,8 +1,12 @@ +%if 0%(test `uname -m` == "loongarch64" && echo 1) +%bcond_with junit5 +%else %bcond_without junit5 +%endif %bcond_without osgi Name: objectweb-asm Version: 7.0 -Release: 1 +Release: 2 Summary: Java bytecode manipulation and analysis framework License: BSD URL: http://asm.ow2.org/ @@ -109,6 +113,9 @@ popd %license LICENSE.txt %changelog +* Mon Mar 13 2023 Wenlong Zhang - 7.0-2 +- fix build error for loongarch64 + * Mon Aug 17 2020 wangyue - 7.0-1 - upgrade the version to 7.0 -- Gitee