diff --git a/nodejs-callsites-4.1.0.tar.gz b/nodejs-callsites-4.1.0.tar.gz new file mode 100644 index 0000000..9e45c81 Binary files /dev/null and b/nodejs-callsites-4.1.0.tar.gz differ diff --git a/nodejs-callsites.spec b/nodejs-callsites.spec index 2adc11d..08e6b5d 100644 --- a/nodejs-callsites.spec +++ b/nodejs-callsites.spec @@ -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 - 2.0.0-1 - Package init diff --git a/test.js b/test.js deleted file mode 100644 index 254dfda..0000000 --- a/test.js +++ /dev/null @@ -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'); -}); diff --git a/v2.0.0.tar.gz b/v2.0.0.tar.gz deleted file mode 100644 index 48b1132..0000000 Binary files a/v2.0.0.tar.gz and /dev/null differ