!12 Add riscv64 support

From: @a-xiang-and-shanhaijing 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
This commit is contained in:
openeuler-ci-bot 2023-08-21 09:01:30 +00:00 committed by Gitee
commit 5cc21949e4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5261 additions and 1 deletions

5250
0002-add-riscv-support.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ Version: 0.0.99
%global goipath github.com/containers/%{name}
Release: 4
Release: 5
Summary: Unprivileged development environment
License: Apache-2.0
@ -11,7 +11,11 @@ URL: https://github.com/containers/toolbox
Source0: toolbox-0.0.99.3.tar.xz
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
Patch0: 0001-fix-wrong-path-of-os-release.patch
%ifarch riscv64
Patch1: 0002-add-riscv-support.patch
%endif
BuildRequires: golang >= 1.13 meson
BuildRequires: pkgconfig(bash-completion) systemd
@ -36,6 +40,9 @@ The toolbox-tests package contains system tests for toolbox.
%prep
%setup -q
%patch0 -p 1
%ifarch riscv64
%patch1 -p1
%endif
GOBUILDDIR="$(pwd)/_build"
GOSOURCEDIR="$(pwd)"
@ -88,6 +95,9 @@ ln -s src/vendor vendor
%{_datadir}/%{name}
%changelog
* Fri Jul 14 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 0.0.99-5
- add riscv64 support
* Fri Dec 09 2022 liukuo <liukuo@kylinos.cn> - 0.0.99-4
- License compliance rectification