diff --git a/core-util-is-1.0.2.tgz b/core-util-is-1.0.2.tgz deleted file mode 100644 index 47be59d..0000000 Binary files a/core-util-is-1.0.2.tgz and /dev/null differ diff --git a/nodejs-core-util-is.spec b/nodejs-core-util-is.spec index 79bc8cd..ba09eb2 100644 --- a/nodejs-core-util-is.spec +++ b/nodejs-core-util-is.spec @@ -5,17 +5,16 @@ Version: 1.0.2 Release: 1 Summary: The util.is functions introduced in Node v0.12 License: MIT -URL: https://www.npmjs.org/package/core-util-is -Source0: http://registry.npmjs.org/core-util-is/-/core-util-is-%{version}.tgz +URL: https://github.com/isaacs/core-util-is +Source0: https://github.com/isaacs/core-util-is/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch -ExclusiveArch: %{ix86} x86_64 %{arm} noarch BuildRequires: nodejs-packaging >= 6 %description The util.is functions introduced in Node v0.12. %prep -%setup -q -n package +%autosetup -n core-util-is-%{version} rm -rf node_modules/ %nodejs_fixdep --caret diff --git a/nodejs-core-util-is.yaml b/nodejs-core-util-is.yaml index 9906523..6405301 100644 --- a/nodejs-core-util-is.yaml +++ b/nodejs-core-util-is.yaml @@ -1,5 +1,4 @@ -git_url: https://www.npmjs.org/package/core-util-is -version_control: registry -src_repo: http://registry.npmjs.org/core-util-is/- -tag_prefix: "^" +version_control: github +src_repo: isaacs/core-util-is +tag_prefix: "^v" seperator: "." diff --git a/v1.0.2.tar.gz b/v1.0.2.tar.gz new file mode 100644 index 0000000..fd67350 Binary files /dev/null and b/v1.0.2.tar.gz differ