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

A new commit has been pushed.

Repo   : rpms/emacs
Branch : rawhide
Commit : 1af7c3800cea096ef010c306362f9db9387d0b4a
Author : Peter Oliver <git@mavit.org.uk>
Date   : 2026-11-02T01:25:33+00:00
Stats  : +1/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/emacs/c/1af7c3800cea096ef010c306362f9db9387d0b4a?branch=rawhide

Log:
New RPM macro, %_emacs_package_install.

---
diff --git a/emacs.spec b/emacs.spec
index 660f267..04d0e00 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -507,6 +507,7 @@ cat > macros.emacs << EOF
 %%_emacs_sitelispdir %{site_lisp}
 %%_emacs_sitestartdir %{site_start_d}
 %%_emacs_bytecompile(W) /usr/bin/emacs --batch --no-site-file --eval '(push nil load-path)' %%{-W:--eval '(setq byte-compile-error-on-warn t)' }-f batch-byte-compile %%*
+%%_emacs_package_install /usr/bin/emacs --batch --eval '(let ((package-user-dir "%%{buildroot}%%{_emacs_sitelispdir}/elpa")) (package-install-file (or (pop argv) default-directory)))'
 EOF
 
 cat > 00-dynamic-module-dir.el << 'EOF'

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 10:28 [rpms/emacs] rawhide: New RPM 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