Accepting request 1144477 from home:danishprakash:branches:devel:microos

Rely only on <major>.<minor> for aardvark-dns requires

OBS-URL: https://build.opensuse.org/request/show/1144477
OBS-URL: https://build.opensuse.org/package/show/devel:microos/netavark?expand=0&rev=18
This commit is contained in:
Dan Čermák 2024-02-06 08:17:24 +00:00 committed by Git OBS Bridge
parent 0c2e0b279d
commit 598eb0ddf8
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 6 07:50:29 UTC 2024 - Danish Prakash <danish.prakash@suse.com>
- Rely only on <major>.<minor> for aardvark-dns requires, even though
it is released in sync with netavark, relying on patch version is brittle.
-------------------------------------------------------------------
Thu Feb 01 14:04:11 UTC 2024 - danish.prakash@suse.com

View File

@ -16,6 +16,8 @@
#
%define major_minor %((v=%{version}; echo ${v%.*}))
Name: netavark
Version: 1.10.2
Release: 0
@ -31,7 +33,7 @@ BuildRequires: protobuf-devel
BuildRequires: rust+cargo >= 1.66
BuildRequires: systemd-rpm-macros
# aardvark-dns and %%{name} are usually released in sync
Requires: aardvark-dns >= %{version}
Requires: aardvark-dns >= %{major_minor}
# Provides: container-network-stack = 2
%description