public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/netcdf-cxx4] epel10: Rebuild for openmpi 5.0.0, drops i686 and C++ API
Date: Thu, 15 Oct 2026 14:10:35 GMT	[thread overview]
Message-ID: <179207343568.1.15349229831777008564.rpms-netcdf-cxx4-e52b8cb77dce@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/netcdf-cxx4
Branch : epel10
Commit : e52b8cb77dce9c9bcc35a59154510fa02600349e
Author : Orion Poplawski <orion@nwra.com>
Date   : 2023-10-29T15:27:07-06:00
Stats  : +23/-11 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/netcdf-cxx4/c/e52b8cb77dce9c9bcc35a59154510fa02600349e?branch=epel10

Log:
Rebuild for openmpi 5.0.0, drops i686 and C++ API

---
diff --git a/netcdf-cxx4.spec b/netcdf-cxx4.spec
index daa51fc..caabebf 100644
--- a/netcdf-cxx4.spec
+++ b/netcdf-cxx4.spec
@@ -1,24 +1,33 @@
+%bcond_without mpich
+%if 0%{?fedora} >= 40
+%ifarch %{ix86}
+%bcond_with openmpi
+%else
+%bcond_without openmpi
+%endif
+%else
+%bcond_without openmpi
+%endif
+
 Name:           netcdf-cxx4
 Version:        4.3.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        NetCDF-4 C++ library
 
 License:        NetCDF
 URL:            http://www.unidata.ucar.edu/software/netcdf/
-Source0:        https://github.com/Unidata/netcdf-cxx4/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        https://github.com/Unidata/netcdf-cxx4/archive/v%{version}/%{name}-%{version}.tar.gz
 # Fix tests on big-endian
 # https://github.com/Unidata/netcdf-cxx4/issues/45
 Patch0:         netcdf-cxx4-bigendian.patch
 
-BuildRequires: make
 BuildRequires:  gcc-c++
+BuildRequires:  make
 BuildRequires:  netcdf-devel
 #mpiexec segfaults if ssh is not present
 #https://trac.mcs.anl.gov/projects/mpich2/ticket/1576
 BuildRequires:  openssh-clients
 
-%global with_mpich 1
-%global with_openmpi 1
 %if 0%{?rhel} <= 6
 %ifarch ppc64
 # No mpich on ppc64 in EL6
@@ -26,10 +35,10 @@ BuildRequires:  openssh-clients
 %endif
 %endif
 
-%if %{with_mpich}
+%if %{with mpich}
 %global mpi_list mpich
 %endif
-%if %{with_openmpi}
+%if %{with openmpi}
 %global mpi_list %{?mpi_list} openmpi
 %endif
 
@@ -55,7 +64,7 @@ Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
 Static library for netCDF-4 C++ API.
 
 
-%if %{with_mpich}
+%if %{with mpich}
 %package mpich
 Summary: NetCDF mpich libraries
 BuildRequires: mpich-devel
@@ -91,7 +100,7 @@ NetCDF parallel mpich static libraries
 %endif
 
 
-%if %{with_openmpi}
+%if %{with openmpi}
 %package openmpi
 Summary: NetCDF openmpi libraries
 BuildRequires: openmpi-devel
@@ -208,7 +217,7 @@ done
 %{_libdir}/libnetcdf_c++4.a
 
 
-%if %{with_mpich}
+%if %{with mpich}
 %files mpich
 %doc COPYRIGHT
 %{_libdir}/mpich/lib/*.so.*
@@ -223,7 +232,7 @@ done
 %{_libdir}/mpich/lib/*.a
 %endif
 
-%if %{with_openmpi}
+%if %{with openmpi}
 %files openmpi
 %doc COPYRIGHT
 %{_libdir}/openmpi/lib/*.so.*
@@ -240,6 +249,9 @@ done
 
 
 %changelog
+* Sun Oct 29 2023 Orion Poplawski <orion@nwra.com> - 4.3.1-10
+- Rebuild for openmpi 5.0.0, drops i686 and C++ API
+
 * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 

                 reply	other threads:[~2026-10-15 14:10 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=179207343568.1.15349229831777008564.rpms-netcdf-cxx4-e52b8cb77dce@fedoraproject.org \
    --to=orion@nwra.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