public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.3: - correct netcdf detection patch, thanks José.
@ 2026-10-17 16:20 pertusus
  0 siblings, 0 replies; only message in thread
From: pertusus @ 2026-10-17 16:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.3
Commit : cc278efd225a5b69fee8d36f2e9c59219465376c
Author : pertusus <pertusus@fedoraproject.org>
Date   : 2008-01-23T19:30:46+00:00
Stats  : +9/-6 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/cc278efd225a5b69fee8d36f2e9c59219465376c?branch=epel10.3

Log:
- correct netcdf detection patch, thanks José.

---
diff --git a/grace-detect-netcdf.diff b/grace-detect-netcdf.diff
index 3ca5016..ba2a200 100644
--- a/grace-detect-netcdf.diff
+++ b/grace-detect-netcdf.diff
@@ -5,7 +5,7 @@
          char *vlib;
          vlib = nc_inq_libvers();
 -        if (strcmp(vlib, "3.0") < 0) {
-+        if ((strcmp(vlib, "\"3.0") < 0) && (strcmp(vlib, "3.0" < 0))){
++        if (((vlib[0] == '"') && (strcmp(vlib, "\"3.0") < 0)) || ((vlib[0] != '"') && (strcmp(vlib, "3.0") < 0))){
            exit(1);
          }
          exit(0);

diff --git a/grace.spec b/grace.spec
index fdcd00d..25d6806 100644
--- a/grace.spec
+++ b/grace.spec
@@ -3,7 +3,7 @@
 
 Name:           grace
 Version:        5.1.21
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -225,9 +225,12 @@ fi
 
 
 %changelog
+* Wed Jan 23 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.21-8
+- correct netcdf detection patch, thanks José.
+
 * Wed Jan 23 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.21-7
-- add support for previous netcdf version (in epel)
-- drop support for monolithic X
+- add support for previous netcdf version (in epel).
+- drop support for monolithic X.
 
 * Tue Jan 22 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.21-6
 - don't add the grace fonts to the X server fonts. Instead use the
@@ -235,8 +238,8 @@ fi
 - use xdg-utils instead of htmlview.
 - use relative links.
 - add links to doc and examples in GRACE_HOME to have correct help.
-- use debian patch
-- clean docs
+- use debian patch.
+- clean docs.
 
 * Fri Sep 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-4
 - Correctly detect netcdf (signature has changed).

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:20 [rpms/grace] epel10.3: - correct netcdf detection patch, thanks José pertusus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox