Add Requires: lorax-templates-rhel on ELN
The ELN project provides the %{rhel} macro, so we can conditionalize on it when building for that target. Also update the comment describing the upstream location. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
19ed6ed871
commit
395d1af958
10
lorax.spec
10
lorax.spec
@ -1,10 +1,10 @@
|
|||||||
# NOTE: This specfile is generated from upstream at https://github.com/rhinstaller/lorax
|
# NOTE: This specfile is generated from upstream at https://github.com/weldr/lorax
|
||||||
# NOTE: Please submit changes as a pull request
|
# NOTE: Please submit changes as a pull request
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: lorax
|
Name: lorax
|
||||||
Version: 35.2
|
Version: 35.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Tool for creating the anaconda install images
|
Summary: Tool for creating the anaconda install images
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -20,6 +20,9 @@ BuildRequires: make
|
|||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
Requires: lorax-templates
|
Requires: lorax-templates
|
||||||
|
%if 0%{?rhel} >= 9
|
||||||
|
Requires: lorax-templates-rhel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: cpio
|
Requires: cpio
|
||||||
Requires: device-mapper
|
Requires: device-mapper
|
||||||
@ -175,6 +178,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
|||||||
%{_datadir}/lorax/templates.d/*
|
%{_datadir}/lorax/templates.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 11 2021 Stephen Gallagher <sgallagh@redhat.com> - 35.2-2
|
||||||
|
- Add Requires: lorax-templates-rhel when building for ELN
|
||||||
|
|
||||||
* Wed May 05 2021 Brian C. Lane <bcl@redhat.com> 35.2-1
|
* Wed May 05 2021 Brian C. Lane <bcl@redhat.com> 35.2-1
|
||||||
- runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com)
|
- runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com)
|
||||||
- treebuilder: Add branding package to template variables (bcl@redhat.com)
|
- treebuilder: Add branding package to template variables (bcl@redhat.com)
|
||||||
|
Loading…
Reference in New Issue
Block a user