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 - 5.1.25-31 +- Package name != binary name + * Thu Jul 21 2022 Fedora Release Engineering - 5.1.25-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild