public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mads Kiilerich <mads@kiilerich.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mercurial] rawhide: Drop obsolete Emacs support (rhbz#2545926)
Date: Thu, 26 Nov 2026 22:46:38 GMT [thread overview]
Message-ID: <179573319863.1.6449527662235393390.rpms-mercurial-4454402478bb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mercurial
Branch : rawhide
Commit : 4454402478bb364f9b2b619669a41867b6fadf45
Author : Mads Kiilerich <mads@kiilerich.com>
Date : 2026-11-26T23:32:11+01:00
Stats : +4/-28 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mercurial/c/4454402478bb364f9b2b619669a41867b6fadf45?branch=rawhide
Log:
Drop obsolete Emacs support (rhbz#2545926)
---
diff --git a/mercurial-site-start.el b/mercurial-site-start.el
deleted file mode 100644
index f169f95..0000000
--- a/mercurial-site-start.el
+++ /dev/null
@@ -1,7 +0,0 @@
-(autoload 'hg-mode "mercurial" "HG mode." t)
-(autoload 'hg-help-overview "mercurial" "HG help." t)
-
-(autoload 'mq-mode "mq"
- "MQ mode for Mercurial repositories with an MQ patch queue." t)
-(autoload 'mq-edit-mode "mq"
- "MQ edit mode for editing patch descriptions." t)
diff --git a/mercurial.spec b/mercurial.spec
index dc3c390..f74aac9 100644
--- a/mercurial.spec
+++ b/mercurial.spec
@@ -10,7 +10,7 @@
Summary: A fast, lightweight Source Control Management system
Name: mercurial
Version: 7.2.4
-Release: 1%{?dist}
+Release: 2%{?dist}
# Release: 1.rc1%%{?dist}
@@ -20,14 +20,11 @@ Release: 1%{?dist}
License: GPL-2.0-or-later
URL: https://mercurial-scm.org/
Source0: https://www.mercurial-scm.org/release/%{name}-%{upstreamversion}.tar.gz
-Source1: mercurial-site-start.el
# Patch cargo metadata for dependency versions available in Fedora
Patch0: mercurial-rust-metadata.patch
Patch1: mercurial_without_TLSv1_2.patch
BuildRequires: make
-BuildRequires: emacs-el
-BuildRequires: emacs-nox
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig
@@ -41,7 +38,6 @@ BuildRequires: rust-packaging
%endif
Provides: hg = %{version}-%{release}
-Requires: emacs-filesystem
Provides: mercurial-rust = %{version}-%{release}
Obsoletes: mercurial-rust < %{version}-%{release}
@@ -198,26 +194,12 @@ install -D -m 755 -pv rust/target/release/librusthg.so \
install -D -m 755 contrib/hgk %{buildroot}%{_libexecdir}/mercurial/hgk
install -m 755 contrib/hg-ssh %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_emacs_sitelispdir}/mercurial
-
-pushd contrib
-for file in mercurial.el mq.el; do
- #emacs -batch -l mercurial.el --no-site-file -f batch-byte-compile $file
- %{_emacs_bytecompile} $file
- install -p -m 644 $file ${file}c %{buildroot}%{_emacs_sitelispdir}/mercurial
- rm ${file}c
-done
-popd
-
pushd contrib/chg
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{_mandir}/man1
popd
-
mkdir -p %{buildroot}%{_sysconfdir}/mercurial/hgrc.d
-mkdir -p %{buildroot}%{_emacs_sitestartdir} && install -m644 %SOURCE1 %{buildroot}%{_emacs_sitestartdir}
-
cat >hgk.rc <<EOF
[extensions]
# enable hgk extension ('hg help' shows 'view' as a command)
@@ -253,8 +235,6 @@ rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale
%{python3_sitearch}/hgext/
%{python3_sitearch}/hgext3rd/
%{python3_sitearch}/hgdemandimport/
-%{_emacs_sitelispdir}/mercurial
-%{_emacs_sitestartdir}/*.el
%{_bindir}/hg
%{_bindir}/hg-ssh
@@ -280,6 +260,9 @@ rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale
%changelog
+* Thu Nov 26 2026 Mads Kiilerich <mads@kiilerich.com> - 7.2.4-2
+- Drop obsolete Emacs support (rhbz#2545926)
+
* Tue Aug 11 2026 Mads Kiilerich <mads@kiilerich.com> - 7.2.4-1
- mercurial 7.2.4
reply other threads:[~2026-11-26 22:46 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=179573319863.1.6449527662235393390.rpms-mercurial-4454402478bb@fedoraproject.org \
--to=mads@kiilerich.com \
--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