Hello community, here is the log from the commit of package lua-lmod for openSUSE:Factory checked in at 2017-10-18 10:51:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-lmod (Old) and /work/SRC/openSUSE:Factory/.lua-lmod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-lmod" Wed Oct 18 10:51:59 2017 rev:11 rq:534319 version:7.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-lmod/lua-lmod.changes 2017-10-13 14:14:42.667860147 +0200 +++ /work/SRC/openSUSE:Factory/.lua-lmod.new/lua-lmod.changes 2017-10-18 10:52:02.104501662 +0200 @@ -1,0 +2,8 @@ +Mon Oct 16 13:21:53 UTC 2017 - [email protected] + +- Doc-Ugly-workaround-for-bug-in-Sphinx.patch + On SLE-12 and Leap 42.x Sphinx generates an incorrect tex file. + This patch adds ugly code to the documentation Makefile to patch + it up and work around this problem. + +------------------------------------------------------------------- @@ -116,0 +125 @@ + (FATE#324199). @@ -155 +164 @@ -- Add profile files for bash and csh. +- Add profile files for bash and csh (bsc#1048964). New: ---- Doc-Ugly-workaround-for-bug-in-Sphinx.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-lmod.spec ++++++ --- /var/tmp/diff_new_pack.cIQ0Hs/_old 2017-10-18 10:52:03.064456626 +0200 +++ /var/tmp/diff_new_pack.cIQ0Hs/_new 2017-10-18 10:52:03.068456438 +0200 @@ -33,11 +33,12 @@ Release: 0 Url: https://github.com/TACC/Lmod %if 0%{?ohpc} -BuildRequires: ohpc-macros +BuildRequires: ohpc %endif Source0: https://github.com/TACC/Lmod/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz Patch1: Messages-Remove-message-about-creating-a-consulting-ticket.patch +Patch2: Doc-Ugly-workaround-for-bug-in-Sphinx.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -100,6 +101,9 @@ %prep %setup -q -n Lmod-%{version} %patch1 -p1 +%if 0%{?sle_version:1} && 0%{?sle_version} < 150000 +%patch2 -p1 +%endif %build export LUA_CPATH="%{lua_cpath}" ++++++ Doc-Ugly-workaround-for-bug-in-Sphinx.patch ++++++ From: Egbert Eich <[email protected]> Date: Mon Oct 16 14:51:52 2017 +0200 Subject: Doc: Ugly workaround for bug in Sphinx. Patch-mainline: never Git-commit: 2f8d29d20add462e06d316e9e6ff3ed93bca9d52 References: Signed-off-by: Egbert Eich <[email protected]> Signed-off-by: Egbert Eich <[email protected]> --- docs/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Makefile b/docs/Makefile index 188360f..b066c68 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -124,6 +124,9 @@ latex: latexpdf: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." + @grep -q "\usepackage{pmboxdraw}" $(BUILDDIR)/latex/Lmod.tex || \ + sed -ie 's#\\usepackage{cmap}#\\usepackage{cmap} \\usepackage{pmboxdraw}#' \ + $(BUILDDIR)/latex/Lmod.tex $(MAKE) -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
