From 7788d7c8a1abc9ca0831de1f9b3e2f05bda4847a Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Sat, 26 Nov 2022 03:45:52 +0000 Subject: [PATCH] remove duplicate files in lorax --- lorax.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lorax.spec b/lorax.spec index bb4665a..36c43d5 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,7 +3,7 @@ Name: lorax Version: 34.1 -Release: 1 +Release: 2 Summary: A set of tools used to create bootable images License: GPLv2+ URL: https://github.com/weldr/lorax @@ -183,6 +183,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 @@ -193,7 +194,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.* @@ -217,6 +218,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 - 34.1-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove duplicate files in lorax + * Fri Nov 18 2022 yanglu - 34.1-1 - Type:requirement - ID:NA -- Gitee