Add sw_64 support

(cherry picked from commit 38f9235fd62e967fab8bd4ddfda072759ccb9266)
This commit is contained in:
maqi 2025-03-03 15:27:43 +08:00 committed by openeuler-sync-bot
parent 9fb7126b6e
commit 31a05ec1e0
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 870e7c48c64897522b7368ae2fa283d6387890c5 Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Mon, 3 Mar 2025 15:24:22 +0800
Subject: [PATCH] fix sw_64 build error
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 208393c..6f532ed 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PYTHONINCLUDE := $(shell $(PYTHON)-config --includes)
VERSION=1.2.3
-ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64 riscv64,$(shell uname -m)))
+ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64 riscv64 sw_64,$(shell uname -m)))
LIBDIR = lib64
else
LIBDIR = lib
--
2.39.3

View File

@ -1,6 +1,6 @@
Name: isomd5sum
Version: 1.2.3
Release: 8
Release: 9
Epoch: 1
Summary: Utilities for working with md5sum implanted in ISO images
License: GPLv2+
@ -9,6 +9,7 @@ Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
Patch0001: 0001-isomd5sum-1.2.3-add-loongarch64-support.patch
Patch0002: 0002-fix-build-error-for-riscv64.patch
Patch0003: 0003-fix-sw_64-build-error.patch
%global common_description %{expand:
isomd5sum provides a way of making use of the ISO9660 application data
@ -68,6 +69,9 @@ make test
%{_mandir}/man1/*
%changelog
* Mon Mar 03 2025 maqi <maqi@uniontech.com> - 1:1.2.3-9
- Add sw_64 support
* Thu Mar 16 2023 laokz <zhangkai@iscas.ac.cn> - 1:1.2.3-8
- fix build error for riscv64
- add %check