public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/emacs-rpm-spec-mode] rawhide: Use macro %_emacs_package_install.
@ 2026-11-10 12:26 Peter Oliver
  0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-11-10 12:26 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-11-10 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 12:26 [rpms/emacs-rpm-spec-mode] rawhide: Use macro %_emacs_package_install Peter Oliver

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