Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/bind.git#46e0d484eedcb4a14046baa005213b06d6375a1e
This commit is contained in:
parent
a9c482da54
commit
87b3b731b7
25
bind.spec
25
bind.spec
@ -67,7 +67,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
||||
Name: bind
|
||||
License: MPLv2.0
|
||||
Version: 9.11.25
|
||||
Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Epoch: 32
|
||||
Url: https://www.isc.org/downloads/bind/
|
||||
#
|
||||
@ -236,6 +236,10 @@ BuildRequires: docbook-style-xsl, libxslt
|
||||
%if %{with TSAN}
|
||||
BuildRequires: libtsan
|
||||
%endif
|
||||
%if %{with DOC}
|
||||
BuildRequires: dblatex
|
||||
BuildRequires: doxygen
|
||||
%endif
|
||||
|
||||
%description
|
||||
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
|
||||
@ -753,8 +757,18 @@ make man
|
||||
popd
|
||||
|
||||
%if %{with DOC}
|
||||
# Does not work. Use upstream generated documentation instead.
|
||||
# make doc
|
||||
# Because oot is not supported in docbook, copy required sources to build directory
|
||||
pushd ..
|
||||
# Note: force all manual pages regeneration, don't preserve timestamps
|
||||
find -name '*.docbook' | while read F; do install -Dv "$F" "build/$F"; done
|
||||
find doc -name '*.xml' | while read F; do [ -f "build/$F" ] || install -Dvp "$F" "build/$F"; done
|
||||
popd
|
||||
cp -upv ../doc/xsl/*.xsl doc/xsl/
|
||||
cp -Rupv ../doc/xsl/graphics doc/xsl/
|
||||
cp -upv ../doc/tex/notestyle.sty doc/tex/
|
||||
cp -upv ../doc/arm/*.conf ../doc/arm/isc-logo.pdf doc/arm/
|
||||
cp -upv ../doc/doxygen/*.html doc/doxygen
|
||||
make doc
|
||||
%endif
|
||||
|
||||
%if %{with DLZ}
|
||||
@ -1072,7 +1086,7 @@ popd
|
||||
|
||||
%if %{with DOC}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
cp -a doc/arm/*.html doc/arm/*.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
cp -a build/doc/arm/{*.html,*.pdf} ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
%endif
|
||||
|
||||
# Ghost config files:
|
||||
@ -1608,6 +1622,9 @@ fi;
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Nov 30 2020 Petr Menšík <pemensik@redhat.com> - 32:9.11.25-2
|
||||
- Regenerate all manual pages on build
|
||||
|
||||
* Thu Nov 26 2020 Petr Menšík <pemensik@redhat.com> - 32:9.11.25-1
|
||||
- Update to 9.11.25
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user