!2 Upgrade version to 4.1.0

From: @cherry530 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-11-01 01:11:35 +00:00 committed by Gitee
commit c150475547
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 5 additions and 11 deletions

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global enable_tests 0
%global module_name callsites
Name: nodejs-%{module_name}
Version: 2.0.0
Version: 4.1.0
Release: 1
Summary: Get callsites from the V8 stack trace API
License: MIT
URL: https://github.com/sindresorhus/callsites
Source0: https://github.com/sindresorhus/callsites/archive/v%{version}.tar.gz
Source1: https://github.com/sindresorhus/callsites/v%{version}/test.js
Source0: https://github.com/sindresorhus/callsites/archive/v4.1.0/nodejs-callsites-4.1.0.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -21,7 +20,6 @@ BuildRequires: npm(xo) npm(ava)
%prep
%autosetup -n callsites-%{version}
rm -rf node_modules
cp -p %{SOURCE1} .
%build
@ -43,5 +41,8 @@ xo && ava
%{nodejs_sitelib}/%{module_name}
%changelog
* Mon Oct 30 2023 xu_ping <707078654@qq.com> - 4.1.0-1
- Upgrade version to 4.1.0
* Fri Aug 21 2020 leiju <leiju4@huawei.com> - 2.0.0-1
- Package init

View File

@ -1,7 +0,0 @@
import path from 'path';
import test from 'ava';
import m from './';
test(t => {
t.is(path.basename(m()[0].getFileName()), 'test.js');
});

Binary file not shown.