gnu-maintenance: 'latest-kde-release' honors 'upstream-name' properties.
authorLudovic Courtès <ludo@gnu.org>
Tue, 29 Nov 2016 15:10:10 +0000 (16:10 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 29 Nov 2016 15:12:31 +0000 (16:12 +0100)
* guix/gnu-maintenance.scm (latest-kde-release): Honor the
'upstream-name' property of PACKAGE.

guix/gnu-maintenance.scm

index 78392c9..6c6c072 100644 (file)
@@ -525,7 +525,8 @@ elpa.gnu.org, and all the GNOME packages."
   (let ((uri (string->uri (origin-uri (package-source package)))))
     (false-if-ftp-error
      (latest-ftp-release
-      (package-name package)
+      (or (assoc-ref (package-properties package) 'upstream-name)
+          (package-name package))
       #:server "mirrors.mit.edu"
       #:directory
       (string-append "/kde" (dirname (dirname (uri-path uri))))