diff --git a/isomd5sum-1.2.3-add-riscv64.patch b/isomd5sum-1.2.3-add-riscv64.patch new file mode 100644 index 0000000000000000000000000000000000000000..32853ca659a0eb12215560d82638eaf3e1675553 --- /dev/null +++ b/isomd5sum-1.2.3-add-riscv64.patch @@ -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 diff --git a/isomd5sum.spec b/isomd5sum.spec index c0693dfd6dc6cd0eda6c46059bb219db22f4280c..1ce15eafc937c4b733fb1f47a3bae62cb7c2e384 100644 --- a/isomd5sum.spec +++ b/isomd5sum.spec @@ -1,6 +1,6 @@ Name: isomd5sum Version: 1.2.3 -Release: 5 +Release: 6 Epoch: 1 Summary: Utilities for working with md5sum implanted in ISO images License: GPLv2+ @@ -12,6 +12,8 @@ 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 iso given nothing more than the iso itself.} +Patch0:isomd5sum-1.2.3-add-riscv64.patch + BuildRequires: gcc popt-devel python3-devel %description @@ -70,6 +72,9 @@ PYTHON=%{__python3} make DESTDIR=%{buildroot} install-bin install-devel install- %{_mandir}/man1/* %changelog +* Fri Oct 31 2020 dengguangxing - 1:1.2.3-6 +- Add riscv64 platform support + * Thu Oct 29 2020 wangchen - 1:1.2.3-5 - Remove python2