public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10: Use emacs on EPEL
@ 2026-10-17 16:18 Terje Rosten
  0 siblings, 0 replies; only message in thread
From: Terje Rosten @ 2026-10-17 16:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10
Commit : eafc49da9226be9a0b24c14df6625f797a8c1d14
Author : Terje Rosten <terje.rosten@ntnu.no>
Date   : 2022-01-28T22:50:12+01:00
Stats  : +12/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/eafc49da9226be9a0b24c14df6625f797a8c1d14?branch=epel10

Log:
Use emacs on EPEL

---
diff --git a/grace.spec b/grace.spec
index ec6b0af..2e03bb9 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,6 +1,12 @@
+%if 0%{?fedora}
+%global editor sensible-editor
+%else
+%global editor emacs
+%endif
+
 Name:           grace
 Version:        5.1.25
-Release:        27%{?dist}
+Release:        28%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 License:        GPLv2+
 # cephes is LGPL, see also Source3 and Source4
@@ -25,7 +31,7 @@ BuildRequires:  t1lib-devel
 BuildRequires:  urw-base35-fonts-devel
 BuildRequires:  xbae-devel
 BuildRequires:  zlib-devel
-Requires:       sensible-utils
+Requires:       %{editor}
 Requires:       xdg-utils
 Requires:       xterm
 %description
@@ -63,7 +69,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export FFLAGS="$RPM_OPT_FLAGS -fPIC"
 %configure \
     --enable-editres \
-    --with-editor="xterm -e sensible-editor" \
+    --with-editor="xterm -e %{editor}" \
     --with-helpviewer="xdg-open %s" \
     --with-printcmd="lpr" \
     --enable-grace-home=%{_datadir}/%{name} \
@@ -181,6 +187,9 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %{_datadir}/%{name}/lib
 
 %changelog
+* Fri Jan 28 2022 Terje Rosten <terje.rosten@ntnu.no> - 5.1.25-28
+- Use emacs on EPEL
+
 * Thu Jan 27 2022 Dave Love <loveshack@fedoraproject.org> - 5.1.25-27
 - Don't require urw-base35-fonts-legacy (not in EL8, and appears unnecessary) (#2046509)
 

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

only message in thread, other threads:[~2026-10-17 16:18 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:18 [rpms/grace] epel10: Use emacs on EPEL Terje Rosten

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