public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/netcdf] f45: Fix build without MPI
Date: Tue, 20 Oct 2026 21:52:19 GMT [thread overview]
Message-ID: <179253313910.1.3709475363474659461.rpms-netcdf-6c23372244bc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/netcdf
Branch : f45
Commit : 6c23372244bc56a3ff881e23f69b3d42b42a94c8
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-20T17:50:50-04:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/netcdf/c/6c23372244bc56a3ff881e23f69b3d42b42a94c8?branch=f45
Log:
Fix build without MPI
Flatpak builds do not enable any MPI, and some regressions arose in that
build configuration.
---
diff --git a/netcdf.spec b/netcdf.spec
index d594564..2d0ce77 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -195,7 +195,7 @@ done
%build
%cmake_build
-for mpi in %{mpi_list}
+for mpi in %{?mpi_list}
do
module load mpi/$mpi-%{_arch}
%cmake_build
@@ -210,9 +210,9 @@ do
module load mpi/$mpi-%{_arch}
%cmake_install
module purge
+ # rpaths are still present in MPI builds
+ chrpath --delete %{buildroot}%{_libdir}/$mpi/hdf5/plugin/lib__*.so %{buildroot}%{_libdir}/$mpi/bin/nc[cdg]*
done
-# rpaths are still present in MPI builds
-chrpath --delete %{buildroot}%{_libdir}/*/hdf5/plugin/lib__*.so %{buildroot}%{_libdir}/*/bin/nc[cdg]*
%check
reply other threads:[~2026-10-20 21:52 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=179253313910.1.3709475363474659461.rpms-netcdf-6c23372244bc@fedoraproject.org \
--to=yselkowi@redhat.com \
--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