Do not depend on systemd package

(cherry picked from commit 739136846c)

Related: rhbz#1956777
This commit is contained in:
Petr Menšík 2021-08-05 14:33:51 +02:00
parent 37123a3b7a
commit 1fdc7ae892

View File

@ -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 <pemensik@redhat.com> - 32:9.16.19-3
* Mon Aug 09 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-4
- Do not depend on systemd package
* Mon Aug 09 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-3
- Include backward compatible html symlink in doc subpackage
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 32:9.16.19-2