From 1fdc7ae892894d6365dfbd1553cbfa3bd3f2e442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Thu, 5 Aug 2021 14:33:51 +0200 Subject: [PATCH] Do not depend on systemd package (cherry picked from commit 739136846ce1caf0d34b2cf7f164c88ead0fa169) Related: rhbz#1956777 --- bind.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bind.spec b/bind.spec index 409eb60..8afbc56 100644 --- a/bind.spec +++ b/bind.spec @@ -51,7 +51,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.16.19 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -103,9 +103,7 @@ Patch164:bind-9.11-rh1666814.patch Patch170:bind-9.11-feature-test-named.patch Patch171:bind-9.11-tests-variants.patch -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd +%{?systemd_ordering} Requires: coreutils Requires(pre): shadow-utils Requires(post): shadow-utils @@ -120,7 +118,7 @@ Recommends: bind-utils bind-dnssec-utils BuildRequires: gcc, make BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel BuildRequires: libidn2-devel, libxml2-devel -BuildRequires: systemd +BuildRequires: systemd-rpm-macros BuildRequires: selinux-policy # needed for %%{__python3} macro BuildRequires: python3-devel @@ -184,7 +182,6 @@ tools for verifying that the DNS server is operating properly. %if %{with PKCS11} %package pkcs11 Summary: Bind with native PKCS#11 functionality for crypto -Requires: systemd Requires: bind%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-pkcs11-libs%{?_isa} = %{epoch}:%{version}-%{release} @@ -1128,7 +1125,10 @@ fi; %endif %changelog -* Fri Jul 23 2021 Petr Menšík - 32:9.16.19-3 +* Mon Aug 09 2021 Petr Menšík - 32:9.16.19-4 +- Do not depend on systemd package + +* Mon Aug 09 2021 Petr Menšík - 32:9.16.19-3 - Include backward compatible html symlink in doc subpackage * Mon Aug 09 2021 Mohan Boddu - 32:9.16.19-2