Accepting request 942654 from home:StefanBruens:branches:electronics

Fix zh doc

OBS-URL: https://build.opensuse.org/request/show/942654
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad-doc?expand=0&rev=52
This commit is contained in:
Stefan Brüns 2021-12-26 21:59:57 +00:00 committed by Git OBS Bridge
parent 94f2ce0319
commit 6ce705d0c4

View File

@ -77,6 +77,7 @@ BuildRequires: tex(phvb8t.tfm)
BuildRequires: tex(psyr.tfm)
BuildRequires: tex(ptmr8t.tfm)
BuildRequires: tex(pzdr.tfm)
BuildRequires: tex(upquote.sty)
BuildRequires: tex(xeCJK.sty)
BuildRequires: tex(xltxtra.sty)
# kicad-doc owns the directories
@ -196,6 +197,11 @@ This package contains Chinese documentation and tutorials for KiCad
%patch0
# These files are actually GIFs, https://gitlab.com/kicad/services/kicad-doc/-/issues/822
mv src/gerbview/images/zh/gerbview_x2_attribute.{png,gif}
mv src/gerbview/images/zh/gerbview_x2_component.{png,gif}
mv src/gerbview/images/zh/gerbview_x2_net.{png,gif}
%if %{with pdf}
# Workaround for dblatex bug #117 - randomly selected warning symbol
cp /usr/share/dblatex/latex/graphics/warning.pdf CMakeSupport/