public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Terje Rosten <terje.rosten@ntnu.no>
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.2: Use emacs on EPEL
Date: Sat, 17 Oct 2026 16:19:27 GMT	[thread overview]
Message-ID: <179225396718.1.15150659081646919909.rpms-grace-eafc49da9226@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.2
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.2

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)
 

                 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=179225396718.1.15150659081646919909.rpms-grace-eafc49da9226@fedoraproject.org \
    --to=terje.rosten@ntnu.no \
    --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