From 421cfdc511e3291ed711a31bfc8ad1b10fca50f7 Mon Sep 17 00:00:00 2001 From: Huang Yang Date: Tue, 7 Mar 2023 09:46:10 +0800 Subject: [PATCH] add loongarch64 support --- ...md5sum-1.2.3-add-loongarch64-support.patch | 25 +++++++++++++++++++ isomd5sum.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-isomd5sum-1.2.3-add-loongarch64-support.patch diff --git a/0001-isomd5sum-1.2.3-add-loongarch64-support.patch b/0001-isomd5sum-1.2.3-add-loongarch64-support.patch new file mode 100644 index 0000000..5832232 --- /dev/null +++ b/0001-isomd5sum-1.2.3-add-loongarch64-support.patch @@ -0,0 +1,25 @@ +From 42ebb67d30d95ace5d9f4caa43320001dd6c7c35 Mon Sep 17 00:00:00 2001 +From: Huang Yang +Date: Tue, 7 Mar 2023 09:36:05 +0800 +Subject: [PATCH] add loongarch64 support + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c98cf35..346e028 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,$(shell uname -m))) ++ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64,$(shell uname -m))) + LIBDIR = lib64 + else + LIBDIR = lib +-- +2.33.0 + diff --git a/isomd5sum.spec b/isomd5sum.spec index 28efdc9..049c918 100644 --- a/isomd5sum.spec +++ b/isomd5sum.spec @@ -1,12 +1,14 @@ Name: isomd5sum Version: 1.2.3 -Release: 6 +Release: 7 Epoch: 1 Summary: Utilities for working with md5sum implanted in ISO images License: GPLv2+ URL: https://github.com/rhinstaller/isomd5sum Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz +Patch0001: 0001-isomd5sum-1.2.3-add-loongarch64-support.patch + %global common_description %{expand: isomd5sum provides a way of making use of the ISO9660 application data area to store md5sum data about the iso. This allows you to check the @@ -62,6 +64,9 @@ PYTHON=%{__python3} make DESTDIR=%{buildroot} install-bin install-devel install- %{_mandir}/man1/* %changelog +* Tue Mar 7 2023 HuangYang - 1:1.2.3-7 +- add loongarch64 support + * Wed Oct 19 2022 zhangruifang - 1:1.2.3-6 - remove redundant macros -- Gitee