gnu: dpkg: Update to 1.21.0.

* gnu/packages/debian.scm (dpkg): Update to 1.21.0.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-15 19:43:26 +01:00
parent d83cc1e7d2
commit 12e9687eb9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -335,7 +335,7 @@ (define-public apt-mirror
(define-public dpkg (define-public dpkg
(package (package
(name "dpkg") (name "dpkg")
(version "1.20.9") (version "1.21.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -344,8 +344,7 @@ (define-public dpkg
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0g33cyd0qbyfdrphcw8m8ikj2hxqpjbyxbhvnp751515c8hgc4rx"))))
"16wlb8hwbdvxar187bjd4pzdzj95g3l2ryi2khqqmwbyca4sjm1n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -354,8 +353,7 @@ (define-public dpkg
(lambda _ (lambda _
(patch-shebang "get-version") (patch-shebang "get-version")
(with-output-to-file ".dist-version" (with-output-to-file ".dist-version"
(lambda () (display ,version))) (lambda () (display ,version)))))
#t))
(add-after 'unpack 'set-perl-libdir (add-after 'unpack 'set-perl-libdir
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
@ -363,8 +361,7 @@ (define-public dpkg
(setenv "PERL_LIBDIR" (setenv "PERL_LIBDIR"
(string-append out (string-append out
"/lib/perl5/site_perl/" "/lib/perl5/site_perl/"
,(package-version perl))) ,(package-version perl)))))))))
#t))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)