enable loongarch64 architecture

This commit is contained in:
haomimi 2023-08-16 18:04:26 +08:00
parent b1f39db191
commit 2dca4b3a12

View File

@ -4,17 +4,18 @@
Name: rpm-ostree
Version: 2022.16
Release: 2
Release: 3
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
Source0: https://github.com/coreos/rpm-ostree/releases/download/v2022.8/%{name}-%{version}.tar.xz
Patch0: fix-compose-err.patch
Patch1: fix-2022.16-build-error.patch
Patch2: 0001-rpm-ostree-uos-support-for-loongarch.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
%endif
ExclusiveArch: %{rust_arches}
@ -115,6 +116,9 @@ install -pm 0644 src/daemon/org.projectatomic.rpmostree1.conf %{buildroot}/etc/d
%{_mandir}/man*/*
%changelog
* Wed Aug 16 2023 haomimi <haomimi@uniontech.com> - 2022.16-3
- enable loongarch64 architecture
* Fri Aug 04 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 2022.16-2
- enable riscv64 architecture