Delete installed manuals for disabled features
Some manuals are installed, even when those features are disabled. Remove such manuals after installation.
This commit is contained in:
parent
0963df6403
commit
e8b35851c3
@ -787,6 +787,14 @@ ln -s dnssec-verify.8.gz dnssec-verify-pkcs11.8.gz
|
||||
popd
|
||||
%endif
|
||||
|
||||
# 9.16.4 installs even manual pages for tools not generated
|
||||
%if %{without DNSTAP}
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/dnstap-read.1* || true
|
||||
%endif
|
||||
%if %{without LMDB}
|
||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/named-nzd2nzf.8* || true
|
||||
%endif
|
||||
|
||||
pushd ${RPM_BUILD_ROOT}%{_mandir}/man8
|
||||
ln -s ddns-confgen.8.gz tsig-keygen.8.gz
|
||||
ln -s named-checkzone.8.gz named-compilezone.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user