From 5a1fd524ecaa34ce89d772b1f64c10746e2574a0 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 6 Oct 2022 15:09:44 -0400 Subject: [PATCH] make aardvark-dns hard requires on fedora-server Signed-off-by: Lokesh Mandvekar --- netavark.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/netavark.spec b/netavark.spec index 4e8524a..1ba3fd5 100644 --- a/netavark.spec +++ b/netavark.spec @@ -16,11 +16,12 @@ ExclusiveArch: %{rust_arches} Summary: OCI network stack URL: https://github.com/containers/%{name} # Tarballs fetched from upstream's release page -Source0: %{url}/archive/v%{built_tag_strip}.tar.gz -Source1: %{url}/releases/download/v%{built_tag_strip}/%{name}-v%{built_tag_strip}-vendor.tar.gz +Source0: %{url}/archive/%{built_tag}.tar.gz +Source1: %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.gz BuildRequires: cargo BuildRequires: go-md2man -Recommends: aardvark-dns >= 1.0.3 +Recommends: aardvark-dns >= 1.2.0 +Requires: (aardvark-dns >= 1.2.0 if fedora-release-identity-server) Provides: container-network-stack = 2 BuildRequires: make BuildRequires: rust-srpm-macros