1
0
forked from rpms/bind

Do not depend on systemd package

(cherry picked from commit 739136846ce1caf0d34b2cf7f164c88ead0fa169)

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 Name: bind
License: MPLv2.0 License: MPLv2.0
Version: 9.16.19 Version: 9.16.19
Release: 3%{?dist} Release: 4%{?dist}
Epoch: 32 Epoch: 32
Url: https://www.isc.org/downloads/bind/ 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 Patch170:bind-9.11-feature-test-named.patch
Patch171:bind-9.11-tests-variants.patch Patch171:bind-9.11-tests-variants.patch
Requires(post): systemd %{?systemd_ordering}
Requires(preun): systemd
Requires(postun): systemd
Requires: coreutils Requires: coreutils
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(post): shadow-utils Requires(post): shadow-utils
@ -120,7 +118,7 @@ Recommends: bind-utils bind-dnssec-utils
BuildRequires: gcc, make BuildRequires: gcc, make
BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel
BuildRequires: libidn2-devel, libxml2-devel BuildRequires: libidn2-devel, libxml2-devel
BuildRequires: systemd BuildRequires: systemd-rpm-macros
BuildRequires: selinux-policy BuildRequires: selinux-policy
# needed for %%{__python3} macro # needed for %%{__python3} macro
BuildRequires: python3-devel BuildRequires: python3-devel
@ -184,7 +182,6 @@ tools for verifying that the DNS server is operating properly.
%if %{with PKCS11} %if %{with PKCS11}
%package pkcs11 %package pkcs11
Summary: Bind with native PKCS#11 functionality for crypto Summary: Bind with native PKCS#11 functionality for crypto
Requires: systemd
Requires: bind%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind%{?_isa} = %{epoch}:%{version}-%{release}
Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: bind-pkcs11-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-pkcs11-libs%{?_isa} = %{epoch}:%{version}-%{release}
@ -1128,7 +1125,10 @@ fi;
%endif %endif
%changelog %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 - Include backward compatible html symlink in doc subpackage
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 32:9.16.19-2 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 32:9.16.19-2