From 9e8de9414f2bfa536ea42ac28b3a0f6c60101c3d Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Jun 27 2022 13:50:24 +0000 Subject: Move host and streamtcp utilities to separate package They do not require unbound in any sense. They can work with just unbound-libs and therefore should be installable independently of main bigger daemon. --- diff --git a/unbound.spec b/unbound.spec index f2cc896..2968c2b 100644 --- a/unbound.spec +++ b/unbound.spec @@ -89,6 +89,7 @@ BuildRequires: systemd # Needed because /usr/sbin/unbound links unbound libs staticly Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-anchor%{?_isa} = %{version}-%{release} +Recommends: %{name}-utils%{?_isa} = %{version}-%{release} %description Unbound is a validating, recursive, and caching DNS(SEC) resolver. @@ -139,6 +140,15 @@ Summary: DNSSEC trust anchor maintaining tool %description anchor Contains tool maintaining trust anchor using RFC 5011 key rollover algorithm. +%package utils +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Summary: Unbound DNS lookup utilities + +%description utils +Contains tools for making DNS queries. Can make queries to DNS servers +also over TLS connection or validate DNSSEC signatures. Similar to +bind-utils. + %if 0%{with_python2} %package -n python2-unbound %{?python_provide:%python_provide python2-unbound} @@ -399,9 +409,6 @@ popd %{_sbindir}/unbound-checkconf %{_sbindir}/unbound-control %{_sbindir}/unbound-control-setup -%{_sbindir}/unbound-host -%{_sbindir}/unbound-streamtcp -%{_mandir}/man1/* %{_mandir}/man5/* %exclude %{_mandir}/man8/unbound-anchor* %{_mandir}/man8/* @@ -456,9 +463,15 @@ popd %{_unitdir}/unbound-anchor.timer %{_unitdir}/unbound-anchor.service +%files utils +%{_sbindir}/unbound-host +%{_sbindir}/unbound-streamtcp +%{_mandir}/man1/unbound-* + %changelog * Mon Jun 27 2022 Petr Menšík - 1.16.0-6 - Move unbound-anchor to separate package +- Move unbound-host and unbound-streamtcp to unbound-utils package * Mon Jun 13 2022 Python Maint - 1.16.0-5 - Rebuilt for Python 3.11