Compare commits

...

12 Commits
master ... f38

Author SHA1 Message Date
Brian C. Lane
edaa44074b SPDX migration 2023-01-30 13:25:47 -08:00
Fedora Release Engineering
2ecf8ae1e1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 13:24:18 +00:00
Fedora Release Engineering
e2f762f62f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 14:54:51 +00:00
Python Maint
651e5eba3b Rebuilt for Python 3.11 2022-06-13 15:06:57 +02:00
Fedora Release Engineering
943e0aeeb1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 13:30:14 +00:00
Radek Vykydal
b0b8875be0 Store test in tests, not plans 2021-09-21 15:31:49 +02:00
Radek Vykydal
d446cfc104 Add smoke gating test 2021-09-01 09:06:18 +02:00
Fedora Release Engineering
3e983c0b73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 08:47:16 +00:00
Python Maint
3cfcff7175 Rebuilt for Python 3.10 2021-06-04 20:07:49 +02:00
Fedora Release Engineering
f14f86c1db - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 14:32:49 +00:00
Brian C. Lane
0b2c8845d1 - Add make to BuildRequires 2020-12-01 16:19:56 -08:00
Fedora Release Engineering
0e8c378a2b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 02:01:24 +00:00
5 changed files with 62 additions and 2 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -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
View File

@ -0,0 +1,7 @@
summary: Smoke tests for isomd5sum tools
discover:
how: fmf
execute:
how: tmt

6
tests/smoke.fmf Normal file
View 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
View 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