public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/emacs-rpm-spec-mode] rawhide: Use macro %_emacs_package_install.
Date: Tue, 10 Nov 2026 12:26:28 GMT	[thread overview]
Message-ID: <179431358805.1.5308198427533995963.rpms-emacs-rpm-spec-mode-24237d38d651@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/emacs-rpm-spec-mode
Branch : rawhide
Commit : 24237d38d6511b699eb464cb3a5165c4e7de5303
Author : Peter Oliver <git@mavit.org.uk>
Date   : 2026-11-10T10:47:02+00:00
Stats  : +2/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/emacs-rpm-spec-mode/c/24237d38d6511b699eb464cb3a5165c4e7de5303?branch=rawhide

Log:
Use macro %_emacs_package_install.

---
diff --git a/emacs-rpm-spec-mode.spec b/emacs-rpm-spec-mode.spec
index d993296..aae7b7c 100644
--- a/emacs-rpm-spec-mode.spec
+++ b/emacs-rpm-spec-mode.spec
@@ -10,7 +10,7 @@ VCS:            git:%{url}.git
 Source0:        https://elpa.nongnu.org/nongnu-devel/rpm-spec-mode-0.16.0.20260616.59.tar.lz
 
 BuildArch:      noarch
-BuildRequires:  emacs-nw
+BuildRequires:  emacs-nw >= 1:31.1-13
 BuildRequires:  lzip
 Requires:       emacs(bin) >= %{?_emacs_version}%{!?_emacs_version:0}
 
@@ -23,9 +23,7 @@ Major GNU Emacs mode for editing RPM spec files.
 
 
 %install
-emacs --batch \
-      --eval '(let ((package-user-dir "%{buildroot}%{_emacs_sitelispdir}/elpa"))
-                (package-install-file (or (pop argv) default-directory)))'
+%{_emacs_package_install}
 
 
 %files

                 reply	other threads:[~2026-11-10 12:26 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=179431358805.1.5308198427533995963.rpms-emacs-rpm-spec-mode-24237d38d651@fedoraproject.org \
    --to=git@mavit.org.uk \
    --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