Browse Source

krb5 disable doc building

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
2f237c98ef
  1. 34
      SPECS/krb5.spec

34
SPECS/krb5.spec

@ -412,19 +412,19 @@ if test "$configured_kdcrundir" != %{_localstatedir}/run/krb5kdc ; then
fi fi


# Build the docs. # Build the docs.
make -C src/doc paths.py version.py #make -C src/doc paths.py version.py
cp src/doc/paths.py doc/ #cp src/doc/paths.py doc/
mkdir -p build-man build-html build-pdf #mkdir -p build-man build-html build-pdf
sphinx-build -a -b man -t pathsubs doc build-man #sphinx-build -a -b man -t pathsubs doc build-man
sphinx-build -a -b html -t pathsubs doc build-html #sphinx-build -a -b html -t pathsubs doc build-html
rm -fr build-html/_sources #rm -fr build-html/_sources
sphinx-build -a -b latex -t pathsubs doc build-pdf #sphinx-build -a -b latex -t pathsubs doc build-pdf
# Build the PDFs if we didn't have pre-built ones. # Build the PDFs if we didn't have pre-built ones.
for pdf in admin appdev basic build plugindev user ; do #for pdf in admin appdev basic build plugindev user ; do
test -s build-pdf/$pdf.pdf || make -C build-pdf # test -s build-pdf/$pdf.pdf || make -C build-pdf
done #done
# new krb5-%{version}-pdf # new krb5-%{version}-pdf
tar -cf "krb5-%{version}-pdfs.tar.new" build-pdf/*.pdf #tar -cf "krb5-%{version}-pdfs.tar.new" build-pdf/*.pdf


# Build the test wrappers. # Build the test wrappers.
pushd nss_wrapper/build pushd nss_wrapper/build
@ -572,10 +572,10 @@ if [[ "$(< $RPM_BUILD_ROOT%{_bindir}/krb5-config )" == *redhat-hardened-ld* ]] ;
fi fi


# Install processed man pages. # Install processed man pages.
for section in 1 5 8 ; do #for section in 1 5 8 ; do
install -m 644 build-man/*.${section} \ # install -m 644 build-man/*.${section} \
$RPM_BUILD_ROOT/%{_mandir}/man${section}/ # $RPM_BUILD_ROOT/%{_mandir}/man${section}/
done #done


# This script just tells you to send bug reports to krb5-bugs@mit.edu, but # This script just tells you to send bug reports to krb5-bugs@mit.edu, but
# since we don't have a man page for it, just drop it. # since we don't have a man page for it, just drop it.
@ -639,8 +639,8 @@ exit 0
%files workstation %files workstation
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc src/config-files/services.append %doc src/config-files/services.append
%doc build-html/* #%doc build-html/*
%doc build-pdf/user.pdf build-pdf/basic.pdf #%doc build-pdf/user.pdf build-pdf/basic.pdf
%attr(0755,root,root) %doc src/config-files/convert-config-files %attr(0755,root,root) %doc src/config-files/convert-config-files


# Clients of the KDC, including tools you're likely to need if you're running # Clients of the KDC, including tools you're likely to need if you're running

Loading…
Cancel
Save