38 lines
1.0 KiB
RPMSpec
38 lines
1.0 KiB
RPMSpec
Name: lorax-templates-almalinux
|
|
Version: 8.6
|
|
Release: 3%{?dist}
|
|
Summary: AlmaLinux 8 build templates for lorax and livemedia-creator
|
|
|
|
License: GPLv2+
|
|
URL: https://github.com/weldr/lorax
|
|
BuildArch: noarch
|
|
Source0: lorax-templates-rhel-8.6-3.tar.gz
|
|
|
|
# Where are these supposed to end up?
|
|
%define templatedir %{_datadir}/lorax/templates.d/70-almalinux
|
|
|
|
%description
|
|
AlmaLinux-specific Lorax templates for creating the boot.iso and live isos are
|
|
placed in %{templatedir}
|
|
|
|
%prep
|
|
%setup -n lorax-templates-rhel-%{version}
|
|
|
|
%build
|
|
# nothing to build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{templatedir}
|
|
cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir}
|
|
sed -i '/libreport-rhel-anaconda-bugzilla/d' $RPM_BUILD_ROOT/%{templatedir}/runtime-install.tmpl
|
|
sed -i '/redhat-release-eula/d' $RPM_BUILD_ROOT/%{templatedir}/runtime-install.tmpl
|
|
|
|
%files
|
|
%dir %{templatedir}
|
|
%{templatedir}/*
|
|
|
|
%changelog
|
|
* Fri Mar 11 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-3
|
|
- Initial build for AlmaLinux 8.6 beta
|