public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/global] rawhide: Require xemacs only on EPEL 8
@ 2026-07-27 14:33 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-27 14:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/global
            Branch : rawhide
            Commit : 4bae3e3be34e4a1f57d2cdccdc1bef8e7e7bbd0f
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-27T10:30:48-04:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/global/c/4bae3e3be34e4a1f57d2cdccdc1bef8e7e7bbd0f?branch=rawhide

            Log:
            Require xemacs only on EPEL 8

There is no further need for compatibility with Fedora 35 or EPEL 7 (or
earlier); EPEL 8 is the only currently supported branch with xemacs.
This fixes the build for the future EPEL 11.

---
diff --git a/global.spec b/global.spec
index a58a322..3bb6a9d 100644
--- a/global.spec
+++ b/global.spec
@@ -48,13 +48,13 @@ BuildRequires:  m4
 BuildRequires:  perl-interpreter
 BuildRequires:  texinfo
 %endif
-%if 0%{?fedora} < 36
+%if 0%{?rhel} == 8
 BuildRequires:  xemacs
 %endif
 BuildRequires:  sqlite-devel
 BuildRequires:  make
 Requires:       emacs-filesystem >= %{_emacs_version}
-%if 0%{?fedora} < 36
+%if 0%{?rhel} == 8
 Requires:       xemacs-filesystem >= %{_xemacs_version}
 %endif
 Obsoletes:      emacs-global <= 6.5.1-1
@@ -113,7 +113,7 @@ mkdir -p %{buildroot}%{_emacs_sitelispdir}
 install gtags.el -p -t %{buildroot}%{_emacs_sitelispdir}
 %{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/gtags.el
 chmod -x %{buildroot}%{_emacs_sitelispdir}/gtags.el
-%if 0%{?fedora} < 36
+%if 0%{?rhel} == 8
 mkdir -p %{buildroot}%{_xemacs_sitelispdir}
 install gtags.el -p -t %{buildroot}%{_xemacs_sitelispdir}
 %{_xemacs_bytecompile} %{buildroot}%{_xemacs_sitelispdir}/gtags.el
@@ -133,7 +133,7 @@ chmod -x %{buildroot}/%{_sysconfdir}/gtags.conf
 %{_mandir}/man*/*
 %{_datadir}/gtags
 %{_emacs_sitelispdir}/gtags.el*
-%if 0%{?fedora} < 36
+%if 0%{?rhel} == 8
 %{_xemacs_sitelispdir}/gtags.el*
 %endif
 

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

only message in thread, other threads:[~2026-07-27 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 14:33 [rpms/global] rawhide: Require xemacs only on EPEL 8 Yaakov Selkowitz

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