lorax-templates-almalinux/SPECS/lorax-templates-almalinux.spec

44 lines
1.2 KiB
RPMSpec
Raw Normal View History

2021-09-15 13:29:27 +00:00
Name: lorax-templates-almalinux
2022-10-18 11:09:36 +00:00
Version: 8.7
Release: 1%{?dist}
2022-04-28 11:26:52 +00:00
Summary: AlmaLinux 8 build templates for lorax and livemedia-creator
2021-09-15 13:29:27 +00:00
License: GPLv2+
URL: https://github.com/weldr/lorax
BuildArch: noarch
2022-10-18 14:34:40 +00:00
Source0: lorax-templates-rhel-8.7-1.tar.gz
2021-09-15 13:29:27 +00:00
2022-10-18 11:09:36 +00:00
# Required for the template branding support
Requires: lorax > 28.14.68
2021-09-15 13:29:27 +00:00
# Where are these supposed to end up?
%define templatedir %{_datadir}/lorax/templates.d/70-almalinux
%description
2022-04-28 11:26:52 +00:00
AlmaLinux-specific Lorax templates for creating the boot.iso and live isos are
2021-09-15 13:29:27 +00:00
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
2022-10-18 11:09:36 +00:00
* Tue Oct 18 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-1
- Update for AlmaLinux 8.7 beta
2022-04-28 11:26:52 +00:00
* Fri Mar 11 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-3
- Initial build for AlmaLinux 8.6 beta