- Use xorriso as recommended package and genisoimage as required for RHEL8/9 and vice versa for RHEL10

This commit is contained in:
Stepan Oksanichenko 2024-09-05 17:28:11 +03:00
parent 1308986569
commit 71c4e3c178
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -2,7 +2,7 @@
Name: pungi
Version: 4.7.0
Release: 1%{?dist}.alma
Release: 2%{?dist}.alma
Summary: Distribution compose tool
License: GPL-2.0-only
@ -55,7 +55,11 @@ Requires: createrepo_c >= 0.20.1
Requires: koji >= 1.10.1-13
Requires: python3-koji-cli-plugins
Requires: isomd5sum
%if %{rhel} == 8 or %{rhel} == 9
Requires: genisoimage
%else
Recommends: genisoimage
%endif
Requires: git
Requires: python3-dnf
Requires: python3-multilib
@ -67,7 +71,11 @@ Requires: python3-createrepo_c >= 0.20.1
Requires: python3-PyYAML
Requires: python3-productmd >= 1.38
Requires: python3-flufl-lock
%if %{rhel} == 10
Requires: xorriso
%else
Recommends: xorriso
%endif
Requires: python3-productmd >= 1.33
Requires: lorax
Requires: python3-distro
@ -166,6 +174,9 @@ rm %{buildroot}%{_bindir}/pungi
%{_bindir}/%{name}-cache-cleanup
%changelog
* Thu Sep 05 2024 Stepan Oksanichenko <soksanichenko@almalinux.org> - 4.7.0-2
- Use xorriso as recommended package and genisoimage as required for RHEL8/9 and vice versa for RHEL10
* Thu Aug 22 2024 Lubomír Sedlář <lsedlar@redhat.com> - 4.7.0-1
- kiwibuild: Add support for type, type attr and bundle format (lsedlar)
- createiso: Block reuse if unsigned packages are allowed (lsedlar)