diff --git a/0003-fix-sw_64-build-error.patch b/0003-fix-sw_64-build-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..2bbc63c7dd30cacec7d33ad37b99e015c06daf80 --- /dev/null +++ b/0003-fix-sw_64-build-error.patch @@ -0,0 +1,25 @@ +From 870e7c48c64897522b7368ae2fa283d6387890c5 Mon Sep 17 00:00:00 2001 +From: maqi +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 + diff --git a/isomd5sum.spec b/isomd5sum.spec index 4081d7f43ac3e769466003bdc3ac49e6c4edc6a9..5bb69ee8deb6a76eb3aaa44c16aa62456faf01ac 100644 --- a/isomd5sum.spec +++ b/isomd5sum.spec @@ -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 - 1:1.2.3-9 +- Add sw_64 support + * Thu Mar 16 2023 laokz - 1:1.2.3-8 - fix build error for riscv64 - add %check