public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/netgen-mesher] f43: Replace fallbackversion with actual package version
Date: Fri, 29 May 2026 09:34:48 +0000	[thread overview]
Message-ID: <rpms-netgen-mesher-859ff13eec12@fedoraproject.org> (raw)
Message-ID: <20260529093448.v6Jw95NYp9dvExvNG4eUcJmhAuq0wUknJUDD1fcLGi4@z> (raw)

A new commit has been pushed.

Repo   : rpms/netgen-mesher
Branch : f43
Commit : 859ff13eec12493307d6e6f8d545416fe7838ba1
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-05-29T11:11:07+02:00
Stats  : +9/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/netgen-mesher/c/859ff13eec12493307d6e6f8d545416fe7838ba1?branch=f43

Log:
Replace fallbackversion with actual package version

---
diff --git a/netgen-mesher.spec b/netgen-mesher.spec
index 3e24a49..de3be0b 100644
--- a/netgen-mesher.spec
+++ b/netgen-mesher.spec
@@ -28,7 +28,7 @@
 Name:           netgen-mesher
 # Also update version in netgen_fallback-version.patch!
 Version:        6.2.2604
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Automatic mesh generation tool
 # FIXME https://github.com/NGSolve/netgen/issues/226
 ExcludeArch:    %{ix86} aarch64
@@ -210,13 +210,14 @@ Python3 interface for netgen compiled against mpich.
 
 %prep
 %autosetup -p1 -n netgen-%{version}
+# Replace fallback version with actual package version
+sed -i "s|6.2.0-0|%{version}-0|g" cmake/generate_version_file.cmake
 
 
 %build
 ### serial version ###
 %define _vpath_builddir %{_target_platform}
-%cmake -DNETGEN_VERSION_GIT=v%{version} \
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DNG_INSTALL_SUFFIX=netgen_mesher \
   -DUSE_NATIVE_ARCH=OFF \
   -DUSE_SUPERBUILD=OFF \
@@ -234,8 +235,7 @@ Python3 interface for netgen compiled against mpich.
 %define _vpath_builddir %{_target_platform}-openmpi
 %{_openmpi_load}
 export CXX=mpicxx
-%cmake -DNETGEN_VERSION_GIT=v%{version} \
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DNG_INSTALL_SUFFIX=netgen_mesher \
   -DUSE_NATIVE_ARCH=OFF \
   -DUSE_SUPERBUILD=OFF \
@@ -255,8 +255,7 @@ export CXX=mpicxx
 %define _vpath_builddir %{_target_platform}-mpich
 %{_mpich_load}
 export CXX=mpicxx
-%cmake -DNETGEN_VERSION_GIT=v%{version} \
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DNG_INSTALL_SUFFIX=netgen_mesher \
   -DUSE_NATIVE_ARCH=OFF \
   -DUSE_SUPERBUILD=OFF \
@@ -417,6 +416,9 @@ install -Dpm 0644 nglib/nglib.h %{buildroot}%{_includedir}/%{name}/nglib.h
 
 
 %changelog
+* Fri May 29 2026 Sandro Mani <manisandro@gmail.com> - 6.2.2604-3
+- Replace fallbackversion with actual package version
+
 * Fri May 29 2026 Sandro Mani <manisandro@gmail.com> - 6.2.2604-2
 - Pass NETGEN_VERSION_GIT to cmake
 

             reply	other threads:[~2026-05-29  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29  9:11 Sandro Mani [this message]
2026-05-29  9:34 ` [rpms/netgen-mesher] f44: Replace fallbackversion with actual package version Sandro Mani
2026-05-29  9:34 ` [rpms/netgen-mesher] f43: " Sandro Mani

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=rpms-netgen-mesher-859ff13eec12@fedoraproject.org \
    --to=manisandro@gmail.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