From fe7b231993ebf1929db19d5d5cb5c396cf105de0506bce18a77599d2ee6ada8d Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Tue, 18 Jun 2024 09:54:27 +0000 Subject: [PATCH 1/2] - Fix leap builds OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/tectonic?expand=0&rev=30 --- tectonic.changes | 5 +++++ tectonic.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/tectonic.changes b/tectonic.changes index b077e0b..ee9e2f6 100644 --- a/tectonic.changes +++ b/tectonic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 18 09:54:10 UTC 2024 - Soc Virnyl Estela + +- Fix leap builds + ------------------------------------------------------------------- Tue May 28 04:18:15 UTC 2024 - Soc Virnyl Estela diff --git a/tectonic.spec b/tectonic.spec index aad0510..e525e09 100644 --- a/tectonic.spec +++ b/tectonic.spec @@ -27,8 +27,14 @@ Source0: https://github.com/tectonic-typesetting/tectonic/archive/refs/ta Source1: vendor.tar.zst Patch1: 0001-build-set-c-standard-to-c-17.patch Patch2: 0002-fix-update-symbols-tags_from_lang-hb_ot_tag_from_lan.patch +%if 0%{?suse_version} > 1600 BuildRequires: c++_compiler BuildRequires: c_compiler +%else +BuildRequires: gcc13 +BuildRequires: gcc13-c++ +BuildRequires: libstdc++6-devel-gcc13 +%endif BuildRequires: cargo-packaging BuildRequires: pkg-config BuildRequires: pkgconfig(fontconfig) From cc5cb0dacbe1f972d1bff922e0c071742721deba10e05a609c76ddfec95f5024 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Tue, 18 Jun 2024 10:08:01 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/tectonic?expand=0&rev=31 --- tectonic.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tectonic.spec b/tectonic.spec index e525e09..377549e 100644 --- a/tectonic.spec +++ b/tectonic.spec @@ -57,6 +57,10 @@ XeTeX and TeXLive. %build %install +%if 0%{?suse_version} <= 1600 +export CC=gcc-13 +export CXX=g++-13 +%endif %{cargo_install} --features external-harfbuzz %files