Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
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
|
@ -1,9 +1,9 @@
|
||||
Summary: Utilities for working with md5sum implanted in ISO images
|
||||
Name: isomd5sum
|
||||
Version: 1.2.3
|
||||
Release: 9%{?dist}
|
||||
Release: 19%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
Url: https://github.com/rhinstaller/isomd5sum
|
||||
Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
|
||||
@ -11,6 +11,7 @@ Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
The isomd5sum package contains utilities for implanting and verifying
|
||||
@ -62,6 +63,36 @@ PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel insta
|
||||
%{python3_sitearch}/pyisomd5sum.so
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
- 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