Name: lorax-templates-rhel Version: 8.0 Release: 1%{?dist} Summary: RHEL8 build templates for lorax and livemedia-creator #Group: Applications/System License: GPLv2+ URL: https://github.com/weldr/lorax Source0: runtime-install.tmpl #Source1: runtime-postinstall.tmpl #Source2: runtime-cleanup.tmpl # It's just text, my friends BuildArch: noarch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-rhel # We need the toplevel templates for arch-specific bits etc. Requires: lorax-templates >= 28.14.0 %description RHEL-specific Lorax templates for creating the boot.iso and live isos are placed in %{templatedir} %prep # no-op - our sources are already prepped %build # no-op - there's nothing to build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{templatedir} cp -a %{sources} $RPM_BUILD_ROOT/%{templatedir} %files %dir %{templatedir} %{templatedir}/*.tmpl %changelog * Mon Jun 18 2018 Will Woods - 8.0-1 - Initial creation of lorax-templates-rhel package