commit
c1930979ac
11
lorax.spec
11
lorax.spec
@ -1,9 +1,9 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
%define disable_cross 0
|
||||||
|
|
||||||
Name: lorax
|
Name: lorax
|
||||||
Version: 29.16
|
Version: 29.16
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A set of tools used to create bootable images
|
Summary: A set of tools used to create bootable images
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/weldr/lorax
|
URL: https://github.com/weldr/lorax
|
||||||
@ -59,6 +59,7 @@ Anaconda's image install feature.
|
|||||||
The package including lorax-templates-generic
|
The package including lorax-templates-generic
|
||||||
lorax-templates-generic,Generic build templates for lorax and livemedia-creator
|
lorax-templates-generic,Generic build templates for lorax and livemedia-creator
|
||||||
|
|
||||||
|
%if 0%{?disable_cross}
|
||||||
%package lmc-virt
|
%package lmc-virt
|
||||||
Summary: livemedia-creator libvirt dependencies
|
Summary: livemedia-creator libvirt dependencies
|
||||||
Requires: lorax = %{version}-%{release} qemu edk2-ovmf
|
Requires: lorax = %{version}-%{release} qemu edk2-ovmf
|
||||||
@ -66,6 +67,7 @@ Recommends: qemu-kvm
|
|||||||
|
|
||||||
%description lmc-virt
|
%description lmc-virt
|
||||||
Additional dependencies required by livemedia-creator when using it with qemu.
|
Additional dependencies required by livemedia-creator when using it with qemu.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package lmc-novirt
|
%package lmc-novirt
|
||||||
Summary: livemedia-creator no-virt dependencies
|
Summary: livemedia-creator no-virt dependencies
|
||||||
@ -167,7 +169,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
|
|||||||
%dir %{_datadir}/lorax/templates.d
|
%dir %{_datadir}/lorax/templates.d
|
||||||
%{_datadir}/lorax/templates.d/*
|
%{_datadir}/lorax/templates.d/*
|
||||||
|
|
||||||
|
%if 0%{?disable_cross}
|
||||||
%files lmc-virt
|
%files lmc-virt
|
||||||
|
%endif
|
||||||
|
|
||||||
%files lmc-novirt
|
%files lmc-novirt
|
||||||
|
|
||||||
@ -196,6 +200,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
|
|||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 16 2020 songnannan <songnannan2@huawei.com> - 29.16-10
|
||||||
|
- disbale the virt pacakge
|
||||||
|
|
||||||
* Mon Feb 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 29.16-9
|
* Mon Feb 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 29.16-9
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user