From 4bbf120ec6b900b0c2c0dce8dd5f30acb36b51c0 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 10 May 2021 12:22:15 -0400 Subject: [PATCH] Initial package import Signed-off-by: Stephen Gallagher --- .gitignore | 1 + lorax-templates-rhel.spec | 39 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 41 insertions(+) create mode 100644 .gitignore create mode 100644 lorax-templates-rhel.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c06169 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/lorax-templates-rhel-10.0-1.tar.gz diff --git a/lorax-templates-rhel.spec b/lorax-templates-rhel.spec new file mode 100644 index 0000000..2abc109 --- /dev/null +++ b/lorax-templates-rhel.spec @@ -0,0 +1,39 @@ +Name: lorax-templates-rhel +Version: 10.0 +Release: 1%{?dist} +Summary: RHEL build templates for lorax and livemedia-creator + +License: GPLv2+ +URL: https://github.com/weldr/lorax +BuildArch: noarch + +# This tarball is generated from the contents of this dist-git repository +# by running the command `make tar`. +# See README for full details of how to update this package +Source0: lorax-templates-rhel-10.0-1.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 +mkdir -p $RPM_BUILD_ROOT/%{templatedir} +cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir} + +%files +%dir %{templatedir} +%{templatedir}/* + +%changelog +* Mon May 10 2021 Stephen Gallagher - 10.0-1 +- First release of lorax-templates-rhel for ELN + diff --git a/sources b/sources new file mode 100644 index 0000000..aa54e86 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lorax-templates-rhel-10.0-1.tar.gz) = 7be5bbb59913c985aefc4dadc8375cb740d161fa326f1fd047415fa5300e770331235366d96fd1dc11db620bacb2550b3c5ef1bb03564585dec64fdb6cbc122d