public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benson Muite <benson_muite@emailplus.org>
To: git-commits@fedoraproject.org
Subject: [rpms/lfortran] epel10: Use conditionals in build requires
Date: Thu, 16 Jul 2026 14:31:49 GMT [thread overview]
Message-ID: <178421230909.1.9338708414747487335.rpms-lfortran-da82eb905a15@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-16 14:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178421230909.1.9338708414747487335.rpms-lfortran-da82eb905a15@fedoraproject.org \
--to=benson_muite@emailplus.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox