public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lfortran] epel10: Use conditionals in build requires
@ 2026-07-16 14:31 Benson Muite
0 siblings, 0 replies; only message in thread
From: Benson Muite @ 2026-07-16 14:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lfortran
Branch : epel10
Commit : da82eb905a1539124e8c5a567103ad213b709db9
Author : Benson Muite <benson_muite@emailplus.org>
Date : 2024-01-19T16:47:25+03:00
Stats : +13/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lfortran/c/da82eb905a1539124e8c5a567103ad213b709db9?branch=epel10
Log:
Use conditionals in build requires
---
diff --git a/lfortran.spec b/lfortran.spec
index 443075e..7bdaaa4 100644
--- a/lfortran.spec
+++ b/lfortran.spec
@@ -1,6 +1,6 @@
Version: 0.30.0
Name: lfortran
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A modern Fortran compiler
# Main code is BSD-3-Clause
@@ -23,14 +23,23 @@ BuildRequires: json-devel
BuildRequires: libffi-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
+%if 0%{?fedora} == 38
BuildRequires: llvm-devel
+%else
+BuildRequires: llvm16=devel
+%endif
BuildRequires: libzstd-devel
BuildRequires: libzstd-static
BuildRequires: python3-devel
BuildRequires: rapidjson-devel
BuildRequires: re2c
+%if 0%{?fedora} > 39
+BuildRequires: zlib-ng-compat-devel
+BuildRequires: zlib-ng-compat-static
+%else
BuildRequires: zlib-devel
BuildRequires: zlib-static
+%endif
# Needed for Jupyter kernel
BuildRequires: cppzmq-devel
BuildRequires: json-devel
@@ -136,6 +145,9 @@ This package contains the jupyter kernel for %{name}.
%{_datadir}/jupyter/kernels/fortran/kernel.json
%changelog
+* Fri Jan 19 2024 Benson Muite <benson_muite@emailplus.org> - 0.30.0-7
+- Use conditional includes for llvm and zlib
+
* Fri Jan 19 2024 Benson Muite <benson_muite@emailplus.org> - 0.30.0-6
- Use llvm instead of llvm16 on f38
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-16 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 14:31 [rpms/lfortran] epel10: Use conditionals in build requires Benson Muite
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox