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 @@ -412,19 +412,19 @@ if test "$configured_kdcrundir" != %{_localstatedir}/run/krb5kdc ; then
fi

# Build the docs.
make -C src/doc paths.py version.py
cp src/doc/paths.py doc/
mkdir -p build-man build-html build-pdf
sphinx-build -a -b man -t pathsubs doc build-man
sphinx-build -a -b html -t pathsubs doc build-html
rm -fr build-html/_sources
sphinx-build -a -b latex -t pathsubs doc build-pdf
#make -C src/doc paths.py version.py
#cp src/doc/paths.py doc/
#mkdir -p build-man build-html build-pdf
#sphinx-build -a -b man -t pathsubs doc build-man
#sphinx-build -a -b html -t pathsubs doc build-html
#rm -fr build-html/_sources
#sphinx-build -a -b latex -t pathsubs doc build-pdf
# Build the PDFs if we didn't have pre-built ones.
for pdf in admin appdev basic build plugindev user ; do
test -s build-pdf/$pdf.pdf || make -C build-pdf
done
#for pdf in admin appdev basic build plugindev user ; do
# test -s build-pdf/$pdf.pdf || make -C build-pdf
#done
# 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.
pushd nss_wrapper/build
@ -572,10 +572,10 @@ if [[ "$(< $RPM_BUILD_ROOT%{_bindir}/krb5-config )" == *redhat-hardened-ld* ]] ; @@ -572,10 +572,10 @@ if [[ "$(< $RPM_BUILD_ROOT%{_bindir}/krb5-config )" == *redhat-hardened-ld* ]] ;
fi

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

# 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.
@ -639,8 +639,8 @@ exit 0 @@ -639,8 +639,8 @@ exit 0
%files workstation
%defattr(-,root,root,-)
%doc src/config-files/services.append
%doc build-html/*
%doc build-pdf/user.pdf build-pdf/basic.pdf
#%doc build-html/*
#%doc build-pdf/user.pdf build-pdf/basic.pdf
%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

Loading…
Cancel
Save