From 991a5713c3ed235d4035321f2d3d0b589199a47c28fa52d6e0a272fdf22ad25a Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 17 May 2024 00:18:35 +0000 Subject: [PATCH] - Fix specfile * p7zip for tumbleweed * p7zip-full for leap OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=182 --- julia.changes | 7 +++++++ julia.spec | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/julia.changes b/julia.changes index 9e53acd..d9c08bb 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 17 00:17:42 UTC 2024 - Soc Virnyl Estela + +- Fix specfile + * p7zip for tumbleweed + * p7zip-full for leap + ------------------------------------------------------------------- Thu May 16 15:18:08 UTC 2024 - Soc Virnyl Estela diff --git a/julia.spec b/julia.spec index 50375ac..1a9209e 100644 --- a/julia.spec +++ b/julia.spec @@ -153,7 +153,12 @@ BuildRequires: metis-devel BuildRequires: ncurses-devel BuildRequires: openlibm-devel BuildRequires: openspecfun-devel -BuildRequires: p7zip >= 16 +# I am not sure how or why they're different in Leap and Tumbleweed +%if %0{?suse_version} > 1600 +BuildRequires: p7zip +%else +BuildRequires: p7zip-full +%endif BuildRequires: patchelf >= 0.9 BuildRequires: perl BuildRequires: readline-devel