diff --git a/nodejs-path-parse.spec b/nodejs-path-parse.spec index 95c13a8..ccc27a8 100644 --- a/nodejs-path-parse.spec +++ b/nodejs-path-parse.spec @@ -1,15 +1,13 @@ %{?nodejs_find_provides_and_requires} -%global commit 97efc90ce24455d23ec6acedf47589df46e48ea0 -%global shortcommit %(c=%{commit}}; echo ${c:0:7}) %global packagename path-parse %global enable_tests 1 Name: nodejs-path-parse -Version: 1.0.6 +Version: 1.0.7 Release: 1 Summary: Node.js path.parse() ponyfill License: MIT URL: https://github.com/jbgutierrez/path-parse -Source0: https://github.com/jbgutierrez/path-parse/archive/%{commit}/path-parse-%{shortcommit}.tar.gz +Source0: https://github.com/jbgutierrez/path-parse/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -20,7 +18,7 @@ BuildRequires: nodejs-packaging Node.js path.parse() ponyfill %prep -%autosetup -n path-parse-%{commit} +%autosetup -n path-parse-%{version} -p1 %build @@ -45,5 +43,8 @@ NODE_ENV=test %{__nodejs} test.js %{nodejs_sitelib}/%{packagename} %changelog +* Thu Jul 1 2021 houyingchao - 1.0.7-1 +- upgrate to 1.0.7 + * Sat Aug 22 2020 wangyue - 1.0.6-1 - package init diff --git a/path-parse-97efc90.tar.gz b/path-parse-97efc90.tar.gz deleted file mode 100644 index 1376e11..0000000 Binary files a/path-parse-97efc90.tar.gz and /dev/null differ diff --git a/v1.0.7.tar.gz b/v1.0.7.tar.gz new file mode 100644 index 0000000..7f28155 Binary files /dev/null and b/v1.0.7.tar.gz differ