From 100f4b8a07ca4aa204a3cef941d4dedf8ef9fdbd Mon Sep 17 00:00:00 2001 From: yangl777 Date: Wed, 14 Jun 2023 06:40:43 +0000 Subject: [PATCH] ensure that the src package contains the loongson and sw patches --- lorax.spec | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/lorax.spec b/lorax.spec index b81137f..d4c68bc 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,14 +3,14 @@ Name: lorax Version: 33.6 -Release: 10 +Release: 11 Summary: A set of tools used to create bootable images License: GPLv2+ URL: https://github.com/weldr/lorax Source0: https://github.com/weldr/lorax/archive/%{name}-%{version}-1.tar.gz -%ifarch sw_64 Source1: sw64.tar.gz -%endif +Source2: 0001-support-loongarch-for-lorax.patch +Source3: 0001-add-sw64-architecture.patch Patch0: 0001-ignore-the-dir-that-without-kernel-version.patch Patch1: 0001-add-text-mode-selection-menu-in-grub-configuration.patch @@ -29,9 +29,11 @@ Patch13: backport-Add-POSTIN-scriptlet-error-to-the-log-monitor-list.patch Patch14: backport-Remove-LD_PRELOAD-libgomp.so.1-from-lmc-no-virt.patch Patch15: backport-runtime-install-don-t-install-notification-daemon.patch Patch16: add-param-name_prefix-to-make-name-used-by-register_blueprint-unique.patch -Patch100: 0001-support-loongarch-for-lorax.patch +%ifarch loongarch64 +Patch100: 0001-support-loongarch-for-lorax.patch +%endif %ifarch sw_64 -Patch200: 0001-add-sw64-architecture.patch +Patch200: 0001-add-sw64-architecture.patch %endif BuildRequires: python3-devel python3-sphinx_rtd_theme python3-magic @@ -233,6 +235,12 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %{_mandir}/man1/*.1* %changelog +* Wed Jun 14 2023 yanglu - 33.6-11 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:ensure that the src package contains the loongson and sw patches + * Wed Dec 21 2022 Wenjuan Qiu - 33.6-10 - Type:requirements - ID:NA -- Gitee