2022-03-11 15:53:46 +00:00
|
|
|
Name: lorax-templates-almalinux
|
|
|
|
Version: 9.0
|
2022-10-18 11:12:18 +00:00
|
|
|
Release: 35%{?dist}
|
|
|
|
Summary: AlmaLinux 9 build templates for lorax and livemedia-creator
|
2022-03-11 15:53:46 +00:00
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://github.com/weldr/lorax
|
|
|
|
BuildArch: noarch
|
2022-10-18 11:12:18 +00:00
|
|
|
Source0: lorax-templates-rhel-9.0-35.tar.gz
|
2022-03-11 15:53:46 +00:00
|
|
|
|
|
|
|
# Required for the template branding support
|
|
|
|
Requires: lorax >= 34.9.1
|
|
|
|
|
|
|
|
# Where are these supposed to end up?
|
|
|
|
%define templatedir %{_datadir}/lorax/templates.d/70-almalinux
|
|
|
|
|
|
|
|
%description
|
|
|
|
RHEL-specific Lorax templates for creating the boot.iso and live isos are
|
|
|
|
placed in %{templatedir}
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n lorax-templates-rhel-%{version}
|
|
|
|
|
|
|
|
# Do not try to install packages not available in AlmaLinux
|
|
|
|
sed -i '/libreport-rhel-anaconda-bugzilla/d' 80-rhel/runtime-install.tmpl
|
|
|
|
sed -i '/redhat-release-eula/d' 80-rhel/runtime-install.tmpl
|
|
|
|
|
|
|
|
%build
|
|
|
|
# nothing to build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{templatedir}
|
|
|
|
cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{templatedir}
|
|
|
|
%{templatedir}/*
|
|
|
|
|
|
|
|
%changelog
|
2022-10-18 11:12:18 +00:00
|
|
|
* Tue Oct 18 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.0-35
|
|
|
|
- Update for AlmaLinux 9.1 beta
|
|
|
|
|
2022-03-11 15:53:46 +00:00
|
|
|
* Fri Mar 11 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 9.0-33
|
|
|
|
- Initial build for AlmaLinux 9.0 beta
|