Compare commits
13 Commits
master
...
f38-riscv6
Author | SHA1 | Date | |
---|---|---|---|
4bc51fafce | |||
|
edaa44074b | ||
|
2ecf8ae1e1 | ||
|
e2f762f62f | ||
|
651e5eba3b | ||
|
943e0aeeb1 | ||
|
b0b8875be0 | ||
|
d446cfc104 | ||
|
3e983c0b73 | ||
|
3cfcff7175 | ||
|
f14f86c1db | ||
|
0b2c8845d1 | ||
|
0e8c378a2b |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
13
isomd5sum-1.2.3-add-riscv64.patch
Normal file
13
isomd5sum-1.2.3-add-riscv64.patch
Normal 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
|
@ -1,16 +1,19 @@
|
|||||||
Summary: Utilities for working with md5sum implanted in ISO images
|
Summary: Utilities for working with md5sum implanted in ISO images
|
||||||
Name: isomd5sum
|
Name: isomd5sum
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 9%{?dist}
|
Release: 19.0.riscv64%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPL-2.0-or-later
|
||||||
|
|
||||||
Url: https://github.com/rhinstaller/isomd5sum
|
Url: https://github.com/rhinstaller/isomd5sum
|
||||||
Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
|
Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: isomd5sum-1.2.3-add-riscv64.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The isomd5sum package contains utilities for implanting and verifying
|
The isomd5sum package contains utilities for implanting and verifying
|
||||||
@ -62,6 +65,39 @@ PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel insta
|
|||||||
%{python3_sitearch}/pyisomd5sum.so
|
%{python3_sitearch}/pyisomd5sum.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 17 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.2.3-19.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
|
* Mon Jan 30 2023 Brian C. Lane <bcl@redhat.com> - 1.2.3-19
|
||||||
|
- SPDX migration
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:1.2.3-16
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:1.2.3-13
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 01 2020 Brian C. Lane <bcl@redhat.com> - 1.2.3-11
|
||||||
|
- Add make to BuildRequires
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-9
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-9
|
||||||
- Rebuilt for Python 3.9
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
7
plans/smoke.fmf
Normal file
7
plans/smoke.fmf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
summary: Smoke tests for isomd5sum tools
|
||||||
|
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
|
||||||
|
execute:
|
||||||
|
how: tmt
|
6
tests/smoke.fmf
Normal file
6
tests/smoke.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
contact: Radek Vykydal <rvykydal@redhat.com>
|
||||||
|
path: /tests
|
||||||
|
test: ./smoke.sh
|
||||||
|
duration: 30m
|
||||||
|
require: [genisoimage, coreutils, isomd5sum]
|
15
tests/smoke.sh
Executable file
15
tests/smoke.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh -eux
|
||||||
|
|
||||||
|
# Create testing iso image
|
||||||
|
rm -rf ./isocontent
|
||||||
|
mkdir isocontent
|
||||||
|
dd if=/dev/zero of=isocontent/big_enough_file bs=500K count=1
|
||||||
|
mkisofs -o test.iso isocontent
|
||||||
|
|
||||||
|
# Implant and check md5 sum
|
||||||
|
implantisomd5 test.iso
|
||||||
|
checkisomd5 --verbose test.iso
|
||||||
|
|
||||||
|
# Destroy testing iso image
|
||||||
|
rm -rf ./isocontent
|
||||||
|
rm test.iso
|
Loading…
Reference in New Issue
Block a user