public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: pertusus <pertusus@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.3: - add support for previous netcdf version (in epel)
Date: Sat, 17 Oct 2026 16:20:16 GMT	[thread overview]
Message-ID: <179225401647.1.5807375133538425807.rpms-grace-1f08680927d5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.3
            Commit : 1f08680927d52c67a1436151bc4e07bc73a5088a
            Author : pertusus <pertusus@fedoraproject.org>
            Date   : 2008-01-23T10:16:20+00:00
            Stats  : +11/-6 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/1f08680927d52c67a1436151bc4e07bc73a5088a?branch=epel10.3

            Log:
            - add support for previous netcdf version (in epel)
- drop support for monolithic X

---
diff --git a/grace-detect-netcdf.diff b/grace-detect-netcdf.diff
index ba914ca..3ca5016 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) {
++        if ((strcmp(vlib, "\"3.0") < 0) && (strcmp(vlib, "3.0" < 0))){
            exit(1);
          }
          exit(0);

diff --git a/grace.spec b/grace.spec
index 9a4c5a9..fdcd00d 100644
--- a/grace.spec
+++ b/grace.spec
@@ -3,7 +3,7 @@
 
 Name:           grace
 Version:        5.1.21
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -27,11 +27,11 @@ BuildRequires:  desktop-file-utils
 # to be able to generate FontDataBase
 BuildRequires:  urw-fonts
 
-%if "%{fedora}" < "5"
-BuildRequires: xorg-x11-devel
-%else
+#%if "%{fedora}" < "5"
+#BuildRequires: xorg-x11-devel
+#%else
 BuildRequires: libXpm-devel
-%endif
+#%endif
 
 Requires:      nedit
 Requires:      xdg-utils
@@ -83,6 +83,7 @@ cp %{SOURCE3} %{SOURCE4} .
     --with-x \
     --with-f77=gfortran \
     --with-extra-incpath=%{_includedir}/netcdf-3 \
+    --with-extra-ldpath=%{_libdir}/netcdf-3 \
     --with-bundled-xbae=no
     
 make %{?_smp_mflags}
@@ -224,6 +225,10 @@ fi
 
 
 %changelog
+* 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
+
 * 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
   urw fonts. Regenerate the FontDataBase based on the urw fonts.

                 reply	other threads:[~2026-10-17 16:20 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=179225401647.1.5807375133538425807.rpms-grace-1f08680927d5@fedoraproject.org \
    --to=pertusus@fedoraproject.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