Subject: [PATCH 45/53] gnu: emacs-spamfilter-el: Rename package to emacs-spamfilter.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 May 2025 14:50:47 +0200

* gnu/packages/emacs-xyz.scm (emacs-spamfilter-el): Define in terms of
'deprecated-package'.
(emacs-spamfilter): New variable, formerly known as "emacs-spamfilter-el".
(emacs-wanderlust)[inputs]: Replace accordingly.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0da885aa82..d890a9b7e1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -41908,9 +41908,9 @@ (define-public emacs-spacious-padding
 comfortable presentation.")
     (license license:gpl3+)))
 
-(define-public emacs-spamfilter-el
+(define-public emacs-spamfilter
   (package
-    (name "emacs-spamfilter-el")
+    (name "emacs-spamfilter")
     (version "1.13")
     (source (origin
               (method url-fetch)
@@ -41953,6 +41953,9 @@ (define-public emacs-spamfilter-el
 @end itemize\n")
     (license license:gpl2+)))
 
+(define-deprecated/public emacs-spamfilter-el emacs-spamfilter
+  (deprecated-package "emacs-spamfilter-el" emacs-spamfilter))
+
 (define-public emacs-promise
   ;; XXX: Last stable release fails to build with "(wrong-number-of-arguments
   ;; (3 . 4) 2)" error.
@@ -43957,7 +43960,7 @@ (define-public emacs-wanderlust
                      (invoke "make" "install")
                      (invoke "make" "install-info"))))))
       (propagated-inputs (list emacs-semi-epg))
-      (inputs (list emacs-spamfilter-el))
+      (inputs (list emacs-spamfilter))
       (home-page "https://www.emacswiki.org/emacs/WanderLust")
       (synopsis "Yet Another Message Interface on Emacsen")
       (description
-- 
2.49.0