add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support

add riscv support
This commit is contained in:
zhangxiang 2023-07-14 10:01:57 +08:00
parent 074107ed06
commit 41e98e9086
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