From 2bdf89ec4a835b2946d33d8c9ab7775e4416cc88 Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Sat, 26 Nov 2022 03:49:59 +0000 Subject: [PATCH] remove duplicate files in lorax --- lorax.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lorax.spec b/lorax.spec index 700155a..3f15b7f 100644 --- a/lorax.spec +++ b/lorax.spec @@ -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 - 33.6-4 +- remove duplicate files in lorax + * Mon Apr 12 2021 orange-snn - 33.6-3 - add python3-pycdlib in requires for livecd -- Gitee