public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10: No need for xterm 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 : 3115a1de37a980b12c4da8acf0ef5971fe8937ca
Author : Terje Rosten <terje.rosten@ntnu.no>
Date   : 2022-09-02T21:55:18+02:00
Stats  : +10/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/3115a1de37a980b12c4da8acf0ef5971fe8937ca?branch=epel10

Log:
No need for xterm on epel

---
diff --git a/grace.spec b/grace.spec
index 9a0dc95..d8b9118 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,14 +1,14 @@
 %if 0%{?fedora}
-%global binary sensible-editor
-%global pkg    sensible-utils
+%global editor  xterm -e sensible-editor
+%global pkgs    sensible-utils xterm
 %else
-%global binary emacs
-%global pkg    emacs
+%global editor  emacs
+%global pkgs    emacs
 %endif
 
 Name:           grace
 Version:        5.1.25
-Release:        31%{?dist}
+Release:        32%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 License:        GPLv2+
 # cephes is LGPL, see also Source3 and Source4
@@ -33,9 +33,8 @@ BuildRequires:  t1lib-devel
 BuildRequires:  urw-base35-fonts-devel
 BuildRequires:  xbae-devel
 BuildRequires:  zlib-devel
-Requires:       %{pkg}
+Requires:       %{pkgs}
 Requires:       xdg-utils
-Requires:       xterm
 %description
 Grace is a Motif application for two-dimensional data
 visualization. Grace can transform the data using free equations, FFT,
@@ -71,7 +70,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export FFLAGS="$RPM_OPT_FLAGS -fPIC"
 %configure \
     --enable-editres \
-    --with-editor="xterm -e %{binary}" \
+    --with-editor="%{editor}" \
     --with-helpviewer="xdg-open %s" \
     --with-printcmd="lpr" \
     --enable-grace-home=%{_datadir}/%{name} \
@@ -189,6 +188,9 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %{_datadir}/%{name}/lib
 
 %changelog
+* Fri Sep 02 2022 Terje Rosten <terje.rosten@ntnu.no> - 5.1.25-32
+- No need for xterm on epel
+
 * Sun Aug 28 2022 Terje Rosten <terje.rosten@ntnu.no> - 5.1.25-31
 - Package name != binary name
 

^ 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: No need for xterm 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