Name: lorax-templates-rhel Version: 8.0 Release: 0%{?dist} Summary: RHEL8 build templates for lorax and livemedia-creator License: GPLv2+ URL: https://github.com/weldr/lorax BuildArch: noarch Source0: lorax-templates-rhel-8.0-0.tar.gz # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-rhel %description RHEL-specific Lorax templates for creating the boot.iso and live isos are placed in %{templatedir} %prep %setup %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 * Mon Jun 18 2018 Will Woods - 8.0-0 - Initial creation of lorax-templates-rhel package