Discontinue i686

Ref: https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval

Fix build issues with netavark-proxy dependency

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2023-02-08 20:45:41 +05:30
parent 6ad26c00f7
commit 8c81c496b9

View File

@ -12,21 +12,21 @@ Name: netavark
Version: %{gen_version}
Release: %autorelease
License: ASL 2.0 and BSD and MIT
ExclusiveArch: %{rust_arches}
ExclusiveArch: %{arm32} %{arm64} ppc64le s390x x86_64
Summary: OCI network stack
URL: https://github.com/containers/%{name}
# Tarballs fetched from upstream's release page
Source0: %{url}/archive/%{built_tag}.tar.gz
Source1: %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.gz
BuildRequires: cargo
%ifarch %{golang_arches}
BuildRequires: go-md2man
%endif
# aardvark-dns and %%{name} are usually released in sync
Recommends: aardvark-dns >= %{version}-1
Requires: (aardvark-dns >= %{version}-1 if fedora-release-identity-server)
Provides: container-network-stack = 2
BuildRequires: make
BuildRequires: protobuf-c
BuildRequires: protobuf-compiler
BuildRequires: rust-srpm-macros
BuildRequires: git-core
# Generated using:
@ -270,6 +270,10 @@ cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"
[source."https://github.com/containers/netavark-dhcp-proxy"]
git = "https://github.com/containers/netavark-dhcp-proxy"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF