Clean spec

Signed-off-by: liweigang <liweiganga@uniontech.com>
This commit is contained in:
liweigang 2024-12-13 10:30:01 +08:00
parent 7832c5aa34
commit 8c105a7e3f

View File

@ -3,41 +3,33 @@
Name: lorax Name: lorax
Version: 34.1 Version: 34.1
Release: 6 Release: 7
Summary: A set of tools used to create bootable images Summary: A set of tools used to create bootable images
License: GPLv2+ License: GPLv2+
URL: https://github.com/weldr/lorax URL: https://github.com/weldr/lorax
Source0: https://github.com/weldr/lorax/archive/%{name}-%{version}-1.tar.gz Source0: https://github.com/weldr/lorax/archive/%{name}-%{version}-1.tar.gz
Source1: sw64.tar.gz Source1: sw64.tar.gz
Source2: 0001-support-loongarch-for-lorax.patch
Source3: 0001-add-sw64-architecture.patch
Patch0: 0001-ignore-the-dir-that-without-kernel-version.patch Patch0: 0001-ignore-the-dir-that-without-kernel-version.patch
Patch1: 0001-add-text-mode-selection-menu-in-grub-configuration.patch Patch1: 0001-add-text-mode-selection-menu-in-grub-configuration.patch
Patch2: 0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch Patch2: 0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch
Patch3: 0001-delete-kernel-modules-pkg.patch Patch3: 0001-delete-kernel-modules-pkg.patch
Patch4: 0001-disable-isolabel-character-change.patch Patch4: 0001-disable-isolabel-character-change.patch
Patch5: disable-graphics-install.patch Patch5: disable-graphics-install.patch
Patch6: disable-GeoIP.patch Patch6: disable-GeoIP.patch
Patch7: eliminate-difference.patch Patch7: eliminate-difference.patch
Patch8: lorax-enable-GUI-installation.patch Patch8: lorax-enable-GUI-installation.patch
Patch9: lorax-enable-anaconda-KdumpSpoke.patch Patch9: lorax-enable-anaconda-KdumpSpoke.patch
Patch10: lorax-delete-udisk2-iscsi.patch Patch10: lorax-delete-udisk2-iscsi.patch
Patch11: backport-Do-not-use-loglevel-option-when-running-Anaconda.patch Patch11: backport-Do-not-use-loglevel-option-when-running-Anaconda.patch
Patch12: backport-Improve-lmc-no-virt-error-handling.patch Patch12: backport-Improve-lmc-no-virt-error-handling.patch
Patch13: backport-Add-POSTIN-scriptlet-error-to-the-log-monitor-list.patch 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 Patch14: backport-Remove-LD_PRELOAD-libgomp.so.1-from-lmc-no-virt.patch
Patch16: add-param-name_prefix-to-make-name-used-by-register_blueprint-unique.patch Patch16: add-param-name_prefix-to-make-name-used-by-register_blueprint-unique.patch
Patch17: 0001-pylorax-Fix-mksparse-ftruncate-size-handling.patch Patch17: 0001-pylorax-Fix-mksparse-ftruncate-size-handling.patch
%ifarch loongarch64 Patch100: 0001-support-loongarch-for-lorax.patch
Patch100: 0001-support-loongarch-for-lorax.patch
%endif
%ifarch sw_64
Patch200: 0001-add-sw64-architecture.patch Patch200: 0001-add-sw64-architecture.patch
%endif
%ifarch riscv64
Patch300: 0001-support-riscv64-for-lorax.patch Patch300: 0001-support-riscv64-for-lorax.patch
%endif
BuildRequires: python3-devel python3-sphinx_rtd_theme python3-magic BuildRequires: python3-devel python3-sphinx_rtd_theme python3-magic
BuildRequires: python3-pytest python3-pytest-mock python3-pocketlint python3-gevent BuildRequires: python3-pytest python3-pytest-mock python3-pocketlint python3-gevent
@ -242,6 +234,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%changelog %changelog
* Fri Dec 13 2024 liweigang <liweigang.lwg@gmail.com> - 34.1-7
- Clean spec
* Thu Jun 13 2024 ouuleilei <wangliu@iscas.ac.cn> - 34.1-6 * Thu Jun 13 2024 ouuleilei <wangliu@iscas.ac.cn> - 34.1-6
- pylorax: Fix mksparse ftruncate size handling - pylorax: Fix mksparse ftruncate size handling