From 2a6b211d2f3c830ee697c907eeeedf536398a498 Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Sat, 26 Nov 2022 02:57:14 +0000 Subject: [PATCH] remove duplicate files in lorax (cherry picked from commit 2466c5362b305491d1537697e49a0f9fda90164d) --- lorax.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lorax.spec b/lorax.spec index 6add3c2..75b9d18 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,7 +3,7 @@ Name: lorax Version: 33.6 -Release: 8 +Release: 9 Summary: A set of tools used to create bootable images License: GPLv2+ URL: https://github.com/weldr/lorax @@ -185,6 +185,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 @@ -195,7 +196,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.* @@ -219,6 +220,12 @@ 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-9 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove duplicate files in lorax + * Mon Mar 28 2022 Wenlong Zhang - 33.6-8 - ID:NA - SUG:NA -- Gitee