!32 add loong64 support for umoci
From: @zhangwenlong01 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
3aa1cd6f55
BIN
sys.tar.gz
Normal file
BIN
sys.tar.gz
Normal file
Binary file not shown.
10
umoci.spec
10
umoci.spec
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
Name: umoci
|
Name: umoci
|
||||||
Version: 0.4.7
|
Version: 0.4.7
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Open Container Image manipulation tool
|
Summary: Open Container Image manipulation tool
|
||||||
License: ISC and MIT and Apache-2.0
|
License: ISC and MIT and Apache-2.0
|
||||||
URL: https://github.com/opencontainers/umoci
|
URL: https://github.com/opencontainers/umoci
|
||||||
Source0: https://github.com/opencontainers/umoci/archive/v0.4.7.tar.gz
|
Source0: https://github.com/opencontainers/umoci/archive/v0.4.7.tar.gz
|
||||||
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
|
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
|
||||||
|
Source2: sys.tar.gz
|
||||||
Patch0000: fix-bad-build-flags.patch
|
Patch0000: fix-bad-build-flags.patch
|
||||||
BuildRequires: fdupes go >= 1.6
|
BuildRequires: fdupes go >= 1.6
|
||||||
|
|
||||||
@ -23,6 +24,10 @@ the OCI.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
tar -xf %SOURCE1
|
tar -xf %SOURCE1
|
||||||
|
%ifarch loongarch64
|
||||||
|
rm -rf vendor/golang.org/x/sys
|
||||||
|
tar -xf %{SOURCE2} -C vendor/golang.org/x
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd go-md2man-*
|
cd go-md2man-*
|
||||||
@ -55,6 +60,9 @@ done
|
|||||||
%{_mandir}/man1/umoci*
|
%{_mandir}/man1/umoci*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 11 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 0.4.7-3
|
||||||
|
- add loong64 support for umoci
|
||||||
|
|
||||||
* Tue Feb 15 2022 caodongxia <caodongxia@huawei.com> - 0.4.7-2
|
* Tue Feb 15 2022 caodongxia <caodongxia@huawei.com> - 0.4.7-2
|
||||||
- fix bad build flags
|
- fix bad build flags
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user