From 45060c0e2b7024dceeb70033b283d02be82bc648 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 24 Dec 2024 12:00:04 +0300 Subject: [PATCH] lorax-templates-rhel requiries was replaced with lorax-templates-msvsphere --- SPECS/lorax.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SPECS/lorax.spec b/SPECS/lorax.spec index 7881b3a..47864df 100644 --- a/SPECS/lorax.spec +++ b/SPECS/lorax.spec @@ -4,7 +4,7 @@ Name: lorax Version: 40.5.6 -Release: 1%{?dist}.inferit +Release: 1%{?dist}.inferit.1 Summary: Tool for creating the anaconda install images License: GPL-2.0-or-later @@ -27,9 +27,14 @@ BuildRequires: make BuildRequires: systemd-rpm-macros Requires: lorax-templates + +%if 0%{?msvsphere} >= 9 +Requires: lorax-templates-msvsphere +%else %if 0%{?rhel} >= 9 Requires: lorax-templates-rhel >= 10.0-45 %endif +%endif Requires: cpio Requires: device-mapper @@ -188,6 +193,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install %{_datadir}/lorax/templates.d/* %changelog +* Tue Dec 24 2024 Sergey Cherevko - 40.5.6-1.inferit.1 +- lorax-templates-rhel requiries was replaced with lorax-templates-msvsphere + * Mon Dec 23 2024 Sergey Cherevko - 40.5.6-1.inferit - Backport dracut chroot umount fix - Fix replace command utf8 handling