diff --git a/nodejs-path-parse.spec b/nodejs-path-parse.spec index 0cdaf12..95c13a8 100644 --- a/nodejs-path-parse.spec +++ b/nodejs-path-parse.spec @@ -1,23 +1,26 @@ %{?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.5 +Version: 1.0.6 Release: 1 Summary: Node.js path.parse() ponyfill License: MIT -URL: https://github.com/jbgutierrez/path-parse.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz +URL: https://github.com/jbgutierrez/path-parse +Source0: https://github.com/jbgutierrez/path-parse/archive/%{commit}/path-parse-%{shortcommit}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} %endif + %description Node.js path.parse() ponyfill %prep -%autosetup -n package +%autosetup -n path-parse-%{commit} %build @@ -42,5 +45,5 @@ NODE_ENV=test %{__nodejs} test.js %{nodejs_sitelib}/%{packagename} %changelog -* Sat Aug 22 2020 wangyue - 1.0.5-1 +* Sat Aug 22 2020 wangyue - 1.0.6-1 - package init diff --git a/nodejs-rechoir b/nodejs-rechoir deleted file mode 160000 index f86a3d8..0000000 --- a/nodejs-rechoir +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f86a3d82d1a535a473dc91b0d872be460395421b diff --git a/nodejs-resolve-pkg b/nodejs-resolve-pkg deleted file mode 160000 index 6a79475..0000000 --- a/nodejs-resolve-pkg +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6a79475f8cd126642a703c8055253ec235b46372 diff --git a/nodejs-shelljs b/nodejs-shelljs deleted file mode 160000 index 7cbfaad..0000000 --- a/nodejs-shelljs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7cbfaadfcd770951ec733d39cc92e0d6afb8d583 diff --git a/nodejs-should b/nodejs-should deleted file mode 160000 index c7d1001..0000000 --- a/nodejs-should +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c7d1001ac68dfc6e3ae8cc9773896033d68b9e88 diff --git a/path-parse-1.0.5.tgz b/path-parse-1.0.5.tgz deleted file mode 100644 index 0e5f0ea..0000000 Binary files a/path-parse-1.0.5.tgz and /dev/null differ diff --git a/path-parse-97efc90.tar.gz b/path-parse-97efc90.tar.gz new file mode 100644 index 0000000..1376e11 Binary files /dev/null and b/path-parse-97efc90.tar.gz differ