Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-09-21 18:04:31 +03:00
parent e2f762f62f
commit 6a782a9c18
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index c98cf35..a601e78 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 riscv64,$(shell uname -m)))
LIBDIR = lib64
else
LIBDIR = lib

View File

@ -1,13 +1,15 @@
Summary: Utilities for working with md5sum implanted in ISO images
Name: isomd5sum
Version: 1.2.3
Release: 17%{?dist}
Release: 17.0.riscv64%{?dist}
Epoch: 1
License: GPLv2+
Url: https://github.com/rhinstaller/isomd5sum
Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
Patch0: isomd5sum-1.2.3-add-riscv64.patch
BuildRequires: gcc
BuildRequires: popt-devel
BuildRequires: python3-devel
@ -63,6 +65,9 @@ PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel insta
%{python3_sitearch}/pyisomd5sum.so
%changelog
* Wed Sep 21 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1:1.2.3-17.0.riscv64
- Add support for riscv64
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild