From 48cfed28f9f009afd2b65a45a539466d6ab9eff13bfb612187f1ad94eb8da7e7 Mon Sep 17 00:00:00 2001 From: Michal Hrusecky Date: Mon, 1 Jul 2024 21:44:42 +0000 Subject: [PATCH] - use distribution library on Tumbleweed for DoQ support OBS-URL: https://build.opensuse.org/package/show/server:dns/knot?expand=0&rev=64 --- knot.changes | 5 +++++ knot.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/knot.changes b/knot.changes index 31014cb..03399d6 100644 --- a/knot.changes +++ b/knot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 1 21:42:11 UTC 2024 - Michal Hrusecky + +- use distribution library on Tumbleweed for DoQ support + ------------------------------------------------------------------- Mon Jul 1 21:26:34 UTC 2024 - Michal Hrusecky diff --git a/knot.spec b/knot.spec index a7aea17..ac0487b 100644 --- a/knot.spec +++ b/knot.spec @@ -49,6 +49,9 @@ Source99: knot.keyring BuildRequires: libcap-ng-devel BuildRequires: libedit-devel BuildRequires: libnghttp2-devel +%if 0%{?suse_version} >= 1600 +BuildRequires: libngtcp2-devel +%endif BuildRequires: liburcu-devel BuildRequires: lmdb-devel >= 0.9.15 BuildRequires: openssl-devel @@ -146,7 +149,9 @@ This package contains a library for a zone record scanner. --libexecdir=%{_libexecdir}/%{pkg_name} \ --includedir=%{_includedir}/knot/ \ --disable-static \ +%if 0%{?suse_version} < 1600 --enable-quic \ +%endif --enable-recvmmsg=yes \ %if %{with lto} --enable-lto=yes \