gnu-maintenance: 'latest-kde-release' honors 'upstream-name' properties.

* guix/gnu-maintenance.scm (latest-kde-release): Honor the
'upstream-name' property of PACKAGE.
This commit is contained in:
Ludovic Courtès 2016-11-29 16:10:10 +01:00
parent e9c72306fd
commit 3e95d88d51
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View 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))))