From 3519509b83e3e9a7183200b9924f5f26bd3e69380cced4fb27125c2cb5b1ab8d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 11 Aug 2021 12:45:51 +0000 Subject: [PATCH 1/2] Skip build of fig2mpdf docs on SLE-12 OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=77 --- transfig.changes | 5 +++++ transfig.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/transfig.changes b/transfig.changes index 2e03b62..7be3132 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 11 12:40:48 UTC 2021 - Dr. Werner Fink + +- Skip build of documentation of fig2mpdf on SLE-12 + ------------------------------------------------------------------- Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index ce27cc0..cbf2ce1a 100644 --- a/transfig.spec +++ b/transfig.spec @@ -26,11 +26,15 @@ BuildRequires: texlive-amsfonts BuildRequires: texlive-cm-super BuildRequires: texlive-courier BuildRequires: texlive-dvips +%if 0%{?suse_version} > 1315 BuildRequires: texlive-epstopdf +%endif BuildRequires: texlive-pdftex BuildRequires: texlive-times BuildRequires: tex(beamer.cls) +%if 0%{?suse_version} > 1315 BuildRequires: tex(german.sty) +%endif BuildRequires: tex(multimedia.sty) BuildRequires: tex(times.sty) BuildRequires: tex(xmpmulti.sty) @@ -160,6 +164,7 @@ gzip -9 %{buildroot}%{_mandir}/man1/fig2mpdf.1 mkdir -p %{buildroot}%{_defaultdocdir}/%{name} install -m 0644 [CLNR]* %{buildroot}%{_defaultdocdir}/%{name} +%if 0%{?suse_version} > 1315 pushd fig2mpdf/doc make mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf @@ -167,6 +172,7 @@ pushd fig2mpdf/doc rm -f *.aux *.log *.nav *.out *.snm *.toc install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/ popd +%endif pushd transfig/doc ../../fig2dev/fig2dev -L latex trans.fig > trans.tex pdflatex manual.tex From 8979e0ec429cfe86a7d55a0e3d508528405ed0a00a860d2ad0abbc8f1c82b821 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 16 Aug 2021 07:42:20 +0000 Subject: [PATCH 2/2] Really skip requirement of texlive-epstopdf OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=78 --- transfig.changes | 5 +++++ transfig.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/transfig.changes b/transfig.changes index 7be3132..871f8ca 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 16 07:40:07 UTC 2021 - Dr. Werner Fink + +- Skip requirement of texlive-epstopdf as SLE-12 does not have that + ------------------------------------------------------------------- Wed Aug 11 12:40:48 UTC 2021 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index cbf2ce1a..addb84a 100644 --- a/transfig.spec +++ b/transfig.spec @@ -54,7 +54,9 @@ Provides: transfig.3.2.3d Requires: ghostscript-fonts-std Requires: ghostscript-library Requires: netpbm +%if 0%{?suse_version} > 1315 Requires: texlive-epstopdf +%endif Version: 3.2.8a Release: 0 Summary: Graphic Converter