From 7a924aa7b9fa269669159c81362dcfa164115f3c Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Fri, 23 Jun 2023 11:49:35 -0400
Subject: [PATCH] Switch to xorriso for iso image creation

xorriso (which also provides /usr/bin/mkisofs) is preferred according to
default.conf:
```
 # xorrisofs is now used as the preferred method for generating the iso image
 # with mkisofs and genisoimage as second and third option
 ISO_MKISOFS_BIN="$( type -p xorrisofs || type -p mkisofs || type -p genisoimage )"
```
---
 rear.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/rear.spec b/rear.spec
index 36c4cb8..2d8031e 100644
--- a/rear.spec
+++ b/rear.spec
@@ -3,7 +3,7 @@
 
 Name: rear
 Version: 2.6
-Release: 9%{?dist}
+Release: 10%{?dist}
 Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool
 URL: http://relax-and-recover.org/
 License: GPLv3
@@ -51,7 +51,7 @@ Requires: gawk
 Requires: attr
 Requires: bc
 Requires: iproute
-Requires: genisoimage
+Requires: xorriso
 %if 0%{?rhel}
 Requires: util-linux
 %endif
@@ -113,6 +113,9 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_docdir}/%{name}/
 
 #-- CHANGELOG -----------------------------------------------------------------#
 %changelog
+* Fri Jun 23 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.6-10
+- Switch to xorriso for iso image creation
+
 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild