[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu-maintenance: 'latest-kde-release' honors 'upstream-name' prop

From: Ludovic Courtès
Subject: 02/03: gnu-maintenance: 'latest-kde-release' honors 'upstream-name' properties.
Date: Tue, 29 Nov 2016 15:12:56 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 3e95d88d51a63854d44cbf8c8caa47b26d81e091
Author: Ludovic Courtès <address@hidden>
Date:   Tue Nov 29 16:10:10 2016 +0100

    gnu-maintenance: 'latest-kde-release' honors 'upstream-name' properties.
    * guix/gnu-maintenance.scm (latest-kde-release): Honor the
    'upstream-name' property of PACKAGE.
 guix/gnu-maintenance.scm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 78392c9..6c6c072 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -525,7 +525,8 @@, and all the GNOME packages."
   (let ((uri (string->uri (origin-uri (package-source package)))))
-      (package-name package)
+      (or (assoc-ref (package-properties package) 'upstream-name)
+          (package-name package))
       #:server ""
       (string-append "/kde" (dirname (dirname (uri-path uri))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]