public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.2: Revert to C17
@ 2026-10-17 16:19 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-17 16:19 UTC (permalink / raw)
  To: git-commits

            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
 

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

only message in thread, other threads:[~2026-10-17 16:19 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:19 [rpms/grace] epel10.2: Revert to C17 

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