Explicitly BR: libnsl2-devel and add needed paths in build config
This commit is contained in:
parent
493ec3c3da
commit
d6f71ac158
@ -17,7 +17,7 @@
|
||||
Summary: A widely used Mail Transport Agent (MTA)
|
||||
Name: sendmail
|
||||
Version: 8.15.2
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
License: Sendmail
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.sendmail.org/
|
||||
@ -94,6 +94,7 @@ Patch29: sendmail-8.15.2-format-security.patch
|
||||
Patch30: sendmail-8.15.2-openssl-1.1.0-ecdhe-fix.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libdb-devel
|
||||
BuildRequires: libnsl2-devel
|
||||
BuildRequires: hesiod-devel
|
||||
BuildRequires: groff
|
||||
BuildRequires: ghostscript
|
||||
@ -232,8 +233,8 @@ sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|' contrib/*.pl
|
||||
cat > redhat.config.m4 << EOF
|
||||
define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
|
||||
define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FFR_TLS_EC -D_FILE_OFFSET_BITS=64 -DHESIOD_ALLOW_NUMERIC_LOGIN')
|
||||
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I/usr/kerberos/include -I%{_includedir}/nsl -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FFR_TLS_EC -D_FILE_OFFSET_BITS=64 -DHESIOD_ALLOW_NUMERIC_LOGIN')
|
||||
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib} -L%{_libdir}/nsl')
|
||||
define(\`confLIBS', \`-lnsl -lhesiod -lcrypt -ldb -lresolv')
|
||||
%{?_hardened_build:define(\`confLDOPTS', \`-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now')}
|
||||
define(\`confMANOWN', \`root')
|
||||
@ -737,6 +738,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Jan 21 2018 Björn Esser <besser82@fedoraproject.org> - 8.15.2-22
|
||||
- Explicitly BR: libnsl2-devel and add needed paths in build config
|
||||
|
||||
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 8.15.2-21
|
||||
- Rebuilt for switch to libxcrypt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user