!19 [sync] PR-17: Add sw_64 support
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
1d2d40a00d
25
0003-fix-sw_64-build-error.patch
Normal file
25
0003-fix-sw_64-build-error.patch
Normal 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
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: isomd5sum
|
Name: isomd5sum
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 8
|
Release: 9
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Utilities for working with md5sum implanted in ISO images
|
Summary: Utilities for working with md5sum implanted in ISO images
|
||||||
License: GPLv2+
|
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
|
Patch0001: 0001-isomd5sum-1.2.3-add-loongarch64-support.patch
|
||||||
Patch0002: 0002-fix-build-error-for-riscv64.patch
|
Patch0002: 0002-fix-build-error-for-riscv64.patch
|
||||||
|
Patch0003: 0003-fix-sw_64-build-error.patch
|
||||||
|
|
||||||
%global common_description %{expand:
|
%global common_description %{expand:
|
||||||
isomd5sum provides a way of making use of the ISO9660 application data
|
isomd5sum provides a way of making use of the ISO9660 application data
|
||||||
@ -68,6 +69,9 @@ make test
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 16 2023 laokz <zhangkai@iscas.ac.cn> - 1:1.2.3-8
|
||||||
- fix build error for riscv64
|
- fix build error for riscv64
|
||||||
- add %check
|
- add %check
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user