add loongarch64 and sw_64 support

This commit is contained in:
panchenbo 2023-08-11 17:21:06 +08:00 committed by wangyueliang
parent b4d9a01007
commit ac0eab9129
3 changed files with 2785 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
Name: rpm-ostree
Version: 2022.16
Release: 3
Release: 4
Summary: Hybrid image/package system
License: Apache-2.0 or MIT and GPL-2.0-or-later and LGPL-2.0-or-later
URL: https://github.com/coreos/rpm-ostree
@ -16,11 +16,19 @@ Patch3: fix-compose-error-for-selinux.patch
%if %{with rust}
%if !%{defined rust_arches}
%define rust_arches x86_64 i686 armv7hl aarch64 ppc64 ppc64le s390x riscv64
%define rust_arches x86_64 i686 armv7hl aarch64 ppc64 ppc64le s390x riscv64 loongarch64 sw_64
%endif
ExclusiveArch: %{rust_arches}
%ifarch loongarch64
Patch1000: 1000-add-loongarch64-support-not-upstream-modified-files.patch
%endif
%ifarch sw_64
Patch1001: 1001-add-sw_64-support-not-upstream-modified-files.patch
%endif
%if %{defined rusttoolset_version}
BuildRequires: %{rusttoolset_version}-cargo
%else
@ -117,6 +125,11 @@ install -pm 0644 src/daemon/org.projectatomic.rpmostree1.conf %{buildroot}/etc/d
%{_mandir}/man*/*
%changelog
* Fri Oct 13 2023 wangyueliang <wangyueliang@kylinos.cn> - 2022.16-4
- merge feature from branch openEuler-22.03-LTS-SP1
- DESC: add loongarch64 and sw_64 support
- AUTHOR: panchenbo <panchenbo@kylinsec.com.cn>
* Mon Sep 18 2023 wangyueliang <wangyueliang@kylinos.cn> - 2022.16-3
- fix compose error for selinux.
- add-for-support-NestOS-kernel.