diff --git a/kicad-doc.spec b/kicad-doc.spec index 03b4abc..840d4f4 100644 --- a/kicad-doc.spec +++ b/kicad-doc.spec @@ -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/