Fixed NIS build requirements

Resolves: rhbz#1942369
This commit is contained in:
Jaroslav Škarvada 2021-04-23 00:37:11 +02:00
parent 6f35ab2e67
commit 57dbb41b29

View File

@ -49,7 +49,7 @@
Name: postfix
Summary: Postfix Mail Transport Agent
Version: 3.5.9
Release: 7%{?dist}
Release: 8%{?dist}
Epoch: 2
URL: http://www.postfix.org
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
@ -102,10 +102,9 @@ Patch11: postfix-3.4.4-chroot-example-fix.patch
# Determine the different packages required for building postfix
BuildRequires: make
BuildRequires: libdb-devel, perl-generators, pkgconfig, zlib-devel
BuildRequires: systemd-units, libicu-devel, libnsl2-devel
BuildRequires: systemd-units, libicu-devel
BuildRequires: gcc, m4, findutils
%if 0%{?rhel} >= 9
%else
%if 0%{?rhel} < 9
BuildRequires: libnsl2-devel
%endif
@ -786,6 +785,10 @@ fi
%endif
%changelog
* Thu Apr 22 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-8
- Fixed NIS build requirements
Resolves: rhbz#1942369
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:3.5.9-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937