!3 updating the version of the dependency abbrev

From: @chen-jan 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-07-01 08:09:57 +00:00 committed by Gitee
commit 56464acc45
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 2 deletions

View File

@ -3,11 +3,12 @@
%global srcname istanbul
Name: nodejs-%{srcname}
Version: 0.4.5
Release: 1
Release: 2
Summary: A JS code coverage tool written in JS
License: BSD
URL: https://github.com/gotwarlost/istanbul
Source0: https://github.com/gotwarlost/istanbul/archive/v%{version}.tar.gz
Patch001: updating-the-version-of-the-dependency-abbrev.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -20,7 +21,7 @@ BuildRequires: npm(which)
%{summary}.
%prep
%autosetup -n istanbul-%{version}
%autosetup -n istanbul-%{version} -p1
%nodejs_fixdep async
%nodejs_fixdep escodegen
%nodejs_fixdep esprima
@ -57,5 +58,8 @@ test/run.js
%{_bindir}/istanbul-js
%changelog
* Fri Jul 01 2022 chenchen <chen_aka_jan@163.com> - 0.4.5-2
- updating the version of the dependency abbrev.
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.4.5-1
- Package init

View File

@ -0,0 +1,25 @@
From 8511caea11577249858e3a658b70da6d5f68ea0f Mon Sep 17 00:00:00 2001
From: chen-jan <chen_aka_jan@163.com>
Date: Fri, 1 Jul 2022 02:19:24 +0000
Subject: [PATCH] updating the version of the dependency abbrev
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index eeb01a7..a8cf497 100644
--- a/package.json
+++ b/package.json
@@ -108,7 +108,7 @@
"url": "git://github.com/gotwarlost/istanbul.git"
},
"dependencies": {
- "abbrev": "1.0.x",
+ "abbrev": "1.1.x",
"async": "1.x",
"escodegen": "1.8.x",
"esprima": "2.7.x",
--
2.30.0