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: Package name != binary name
Date: Sat, 17 Oct 2026 16:19:28 GMT	[thread overview]
Message-ID: <179225396884.1.6959510837485822954.rpms-grace-0c8688d3722a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.2
Commit : 0c8688d3722ab1fba0aa4fe31b5d5c0cda003a4f
Author : Terje Rosten <terje.rosten@ntnu.no>
Date   : 2022-08-28T13:58:28+02:00
Stats  : +10/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/0c8688d3722ab1fba0aa4fe31b5d5c0cda003a4f?branch=epel10.2

Log:
Package name != binary name

---
diff --git a/grace.spec b/grace.spec
index 8a59cb4..9a0dc95 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,12 +1,14 @@
 %if 0%{?fedora}
-%global editor sensible-utils
+%global binary sensible-editor
+%global pkg    sensible-utils
 %else
-%global editor emacs
+%global binary emacs
+%global pkg    emacs
 %endif
 
 Name:           grace
 Version:        5.1.25
-Release:        30%{?dist}
+Release:        31%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 License:        GPLv2+
 # cephes is LGPL, see also Source3 and Source4
@@ -31,7 +33,7 @@ BuildRequires:  t1lib-devel
 BuildRequires:  urw-base35-fonts-devel
 BuildRequires:  xbae-devel
 BuildRequires:  zlib-devel
-Requires:       %{editor}
+Requires:       %{pkg}
 Requires:       xdg-utils
 Requires:       xterm
 %description
@@ -69,7 +71,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export FFLAGS="$RPM_OPT_FLAGS -fPIC"
 %configure \
     --enable-editres \
-    --with-editor="xterm -e %{editor}" \
+    --with-editor="xterm -e %{binary}" \
     --with-helpviewer="xdg-open %s" \
     --with-printcmd="lpr" \
     --enable-grace-home=%{_datadir}/%{name} \
@@ -187,6 +189,9 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %{_datadir}/%{name}/lib
 
 %changelog
+* Sun Aug 28 2022 Terje Rosten <terje.rosten@ntnu.no> - 5.1.25-31
+- Package name != binary name
+
 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.25-30
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_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=179225396884.1.6959510837485822954.rpms-grace-0c8688d3722a@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