Compare commits

...

8 Commits
master ... f36

Author SHA1 Message Date
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 49 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1,7 +1,7 @@
Summary: Utilities for working with md5sum implanted in ISO images
Name: isomd5sum
Version: 1.2.3
Release: 9%{?dist}
Release: 15%{?dist}
Epoch: 1
License: GPLv2+
@ -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,24 @@ PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel insta
%{python3_sitearch}/pyisomd5sum.so
%changelog
* 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