Stop building PDF documentation

It brings too many dependencies, it's fragile and breaks way too often.
This commit is contained in:
Lubomír Sedlář 2020-06-11 14:57:09 +02:00
parent 5a3b9fdb00
commit 6ed6b79f1a

View File

@ -2,7 +2,7 @@
Name: pungi
Version: 4.2.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Distribution compose tool
License: GPLv2
@ -36,15 +36,7 @@ BuildRequires: python3-dogpile-cache
BuildRequires: python3-parameterized
#deps for doc building
BuildRequires: python3-sphinx, texlive-collection-fontsrecommended
BuildRequires: texlive-cmap, texlive-babel-english, texlive-fancyhdr
BuildRequires: texlive-titlesec, texlive-framed, texlive-threeparttable
BuildRequires: texlive-mdwtools, texlive-wrapfig, texlive-parskip, texlive-upquote
BuildRequires: texlive-multirow, texlive-capt-of, texlive-eqparbox
BuildRequires: tex(fncychap.sty)
BuildRequires: tex(tabulary.sty)
BuildRequires: tex(needspace.sty)
BuildRequires: latexmk
BuildRequires: python3-sphinx
Requires: python3-kobo-rpmlib
Requires: python3-kickstart
@ -98,7 +90,6 @@ no guarantees about API stability.
%build
%py3_build
cd doc
make latexpdf SPHINXBUILD=/usr/bin/sphinx-build-3
make epub SPHINXBUILD=/usr/bin/sphinx-build-3
make text SPHINXBUILD=/usr/bin/sphinx-build-3
make man SPHINXBUILD=/usr/bin/sphinx-build-3
@ -118,7 +109,7 @@ nosetests-3 --exe
%files
%license COPYING GPL
%doc AUTHORS
%doc doc/_build/latex/Pungi.pdf doc/_build/epub/Pungi.epub doc/_build/text/*
%doc doc/_build/epub/Pungi.epub doc/_build/text/*
%{_bindir}/%{name}-koji
%{_bindir}/%{name}-gather
%{_bindir}/comps_filter
@ -144,6 +135,9 @@ nosetests-3 --exe
%{_bindir}/%{name}-wait-for-signed-ostree-handler
%changelog
* Thu Jun 11 2020 Lubomír Sedlář <lsedlar@redhat.com> - 4.2.3-2
- Stop building PDF documentation
* Thu Jun 11 2020 Lubomír Sedlář <lsedlar@redhat.com> - 4.2.3-1
- Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase
class. (jkaluza)