[packages/yarn] Update to 1.22.4

glen glen at pld-linux.org
Tue Mar 17 15:09:03 CET 2020


commit 36ade2ae20ed3e17eb571df9fe3b412ed978b47f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Mar 17 15:09:20 2020 +0200

    Update to 1.22.4

 yarn.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/yarn.spec b/yarn.spec
index 23f1d33..44536f3 100644
--- a/yarn.spec
+++ b/yarn.spec
@@ -1,11 +1,11 @@
 Summary:	Fast, reliable, and secure node dependency management
 Name:		yarn
-Version:	1.12.3
+Version:	1.22.4
 Release:	1
 License:	BSD
 Group:		Development/Tools
 Source0:	https://github.com/yarnpkg/yarn/releases/download/v%{version}/%{name}-v%{version}.tar.gz
-# Source0-md5:	925d0dd6eebf08f761a2efd4da981d17
+# Source0-md5:	faf483d50aa8ccbdc802efa0cac5d4d3
 URL:		https://yarnpkg.com/
 BuildRequires:	rpmbuild(macros) >= 1.634
 BuildRequires:	sed >= 4.0
@@ -35,6 +35,7 @@ package before its code is executed.
 %{__rm} bin/*.cmd
 %{__rm} bin/yarn
 %{__rm} bin/yarnpkg
+%{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' bin/yarn.js lib/cli.js
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yarn.git/commitdiff/36ade2ae20ed3e17eb571df9fe3b412ed978b47f



More information about the pld-cvs-commit mailing list