!7 add loongarch64 support for nix
From: @zhangwenlong01 Reviewed-by: @duyiwei7w Signed-off-by: @duyiwei7w
This commit is contained in:
commit
1942d786fb
33
0001-add-loongarch64-support-for-nix.patch
Normal file
33
0001-add-loongarch64-support-for-nix.patch
Normal file
File diff suppressed because one or more lines are too long
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
Name: netavark
|
Name: netavark
|
||||||
Version: 1.10.3
|
Version: 1.10.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: OCI network stack
|
Summary: OCI network stack
|
||||||
License: ASL 2.0 and BSD and MIT
|
License: ASL 2.0 and BSD and MIT
|
||||||
URL: https://github.com/containers/%{name}
|
URL: https://github.com/containers/%{name}
|
||||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||||
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
|
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
|
||||||
Source2: https://github.com/cpuguy83/go-md2man/archive/refs/tags/v2.0.2.tar.gz
|
Source2: https://github.com/cpuguy83/go-md2man/archive/refs/tags/v2.0.2.tar.gz
|
||||||
|
Source3: 0001-add-loongarch64-support-for-nix.patch
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: protobuf-c
|
BuildRequires: protobuf-c
|
||||||
@ -253,6 +254,7 @@ Its features include:
|
|||||||
%autosetup -Sgit -n %{name}-%{version}
|
%autosetup -Sgit -n %{name}-%{version}
|
||||||
tar fx %{SOURCE1}
|
tar fx %{SOURCE1}
|
||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
|
patch -p1 < %{SOURCE3}
|
||||||
|
|
||||||
cat >.cargo/config << EOF
|
cat >.cargo/config << EOF
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
@ -296,6 +298,9 @@ go-md2man -in %{name}.1.md -out %{name}.1
|
|||||||
%{_unitdir}/%{name}-firewalld-reload.service
|
%{_unitdir}/%{name}-firewalld-reload.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 06 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.10.3-2
|
||||||
|
- add loongarch64 support for nix
|
||||||
|
|
||||||
* Fri Mar 22 2024 tenglei <tenglei@kylinos.cn> - 1.10.3-1
|
* Fri Mar 22 2024 tenglei <tenglei@kylinos.cn> - 1.10.3-1
|
||||||
- Upgrade to 1.10.3
|
- Upgrade to 1.10.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user