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

            A new commit has been pushed.

            Repo   : rpms/emacs
            Branch : rawhide
            Commit : a4436a2bef3b9d9d6944634b8ca18466e6dbe16b
            Author : Peter Oliver <git@mavit.org.uk>
            Date   : 2026-09-25T15:36:21+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/emacs/c/a4436a2bef3b9d9d6944634b8ca18466e6dbe16b?branch=rawhide

            Log:
            Simplify %_emacs_bytecompile RPM macro

Emacs option --batch implies option --no-init-file, so no need to repeat it.

---
diff --git a/emacs.spec b/emacs.spec
index e6662a2..e7ac428 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -500,7 +500,7 @@ cat > macros.emacs << EOF
 %%_emacs_archsitelispdir %%{_libdir}/emacs/site-lisp
 %%_emacs_sitelispdir %{site_lisp}
 %%_emacs_sitestartdir %{site_start_d}
-%%_emacs_bytecompile(W) /usr/bin/emacs -batch --no-init-file --no-site-file --eval '(push nil load-path)' %%{-W:--eval '(setq byte-compile-error-on-warn t)' }-f batch-byte-compile %%*
+%%_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 %%*
 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-09-25 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 15:50 [rpms/emacs] rawhide: Simplify %_emacs_bytecompile RPM macro Peter Oliver

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