remove duplicate files in lorax

(cherry picked from commit 2bdf89ec4a835b2946d33d8c9ab7775e4416cc88)
This commit is contained in:
sherlock2010 2022-11-26 03:49:59 +00:00 committed by openeuler-sync-bot
parent 9935bb0833
commit a8e31a3eb3

View File

@ -3,7 +3,7 @@
Name: lorax
Version: 33.6
Release: 3
Release: 4
Summary: A set of tools used to create bootable images
License: GPLv2+
URL: https://github.com/weldr/lorax
@ -175,6 +175,7 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%dir %{_datadir}/lorax/templates.d
%{_datadir}/lorax/templates.d/*
%{_tmpfilesdir}/lorax.conf
%exclude %{python3_sitelib}/pylorax/api
%if 0%{?disable_cross}
%files lmc-virt
@ -185,7 +186,7 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%files composer
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/lorax/composer.conf
%{python3_sitelib}/pylorax/api/*
%{python3_sitelib}/pylorax/api
%{python3_sitelib}/lifted/*
%{_sbindir}/lorax-composer
%{_unitdir}/lorax-composer.*
@ -209,6 +210,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%{_mandir}/man1/*.1*
%changelog
* Sat Nov 26 2022 zhouyihang <zhouyihang3@h-partners.com> - 33.6-4
- remove duplicate files in lorax
* Mon Apr 12 2021 orange-snn <songnannan2@huawei.com> - 33.6-3
- add python3-pycdlib in requires for livecd