public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.2: Revert to C17
Date: Sat, 17 Oct 2026 16:19:35 GMT	[thread overview]
Message-ID: <179225397598.1.4256162319041170066.rpms-grace-eef0acee9bdb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.2
            Commit : eef0acee9bdbe39fa9ac0e29d4278ca52e0d6ee2
            Author : Terje Røsten <terjeros@gmail.com>
            Date   : 2025-03-09T11:39:02+01:00
            Stats  : +8/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/eef0acee9bdbe39fa9ac0e29d4278ca52e0d6ee2?branch=epel10.2

            Log:
            Revert to C17

Revert to C17

---
diff --git a/grace.spec b/grace.spec
index 0aa5b49..ce85acc 100644
--- a/grace.spec
+++ b/grace.spec
@@ -8,7 +8,7 @@
 
 Name:           grace
 Version:        5.1.25
-Release:        42%{?dist}
+Release:        43%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
 License:        GPL-2.0-or-later
@@ -70,7 +70,11 @@ rm -rf Xbae T1lib
 
 %build
 cp %{SOURCE3} %{SOURCE4} .
+%if 0%{?fedora} > 41 || 0%{?rhel} > 10
+export CFLAGS="$RPM_OPT_FLAGS -fPIC -std=gnu17"
+%else
 export CFLAGS="$RPM_OPT_FLAGS -fPIC"
+%endif
 export FFLAGS="$RPM_OPT_FLAGS -fPIC"
 %configure \
     --enable-editres \
@@ -192,6 +196,9 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %{_datadir}/%{name}/lib
 
 %changelog
+* Sun Mar 09 2025 Terje Rosten <terjeros@gmail.com> - 5.1.25-43
+- Revert to C17
+
 * Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.25-42
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

                 reply	other threads:[~2026-10-17 16:19 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=179225397598.1.4256162319041170066.rpms-grace-eef0acee9bdb@fedoraproject.org \
    --to=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