From ec54eb15f6a40c9f5acc7cd2788fff2a0dd0f18e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 16 2015 15:29:30 +0000 Subject: import nodejs010-npm-2.14.13-6.el7 --- diff --git a/.gitignore b/.gitignore index d94d9b1..bd6e9f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/npm-1.4.28-stripped.tar.gz +SOURCES/npm-2.14.13-stripped.tar.gz diff --git a/.nodejs010-npm.metadata b/.nodejs010-npm.metadata index 0e981e0..6a6594f 100644 --- a/.nodejs010-npm.metadata +++ b/.nodejs010-npm.metadata @@ -1 +1 @@ -5c037ccb83cfac6f387553f5d6fc1ee627ba1385 SOURCES/npm-1.4.28-stripped.tar.gz +1961bfd56ab43eb4534933d2c4cbbdd57a8030b8 SOURCES/npm-2.14.13-stripped.tar.gz diff --git a/SPECS/npm.spec b/SPECS/npm.spec index fab9d44..14362d8 100644 --- a/SPECS/npm.spec +++ b/SPECS/npm.spec @@ -4,22 +4,25 @@ %{?nodejs_find_provides_and_requires} Name: %{?scl_prefix}npm -Version: 1.4.28 -Release: 5%{?dist} +Version: 2.14.13 +Release: 6%{?dist} Summary: Node.js Package Manager License: Artistic 2.0 Group: Development/Tools URL: http://npmjs.org/ #stripped sources are created by script, #we remove badly licensed web fonts from documentation -#http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz -Source0: npm-1.4.28-stripped.tar.gz +#http://registry.npmjs.org/%%{npm_name}/-/%%{npm_name}-%%{version}.tgz +Source0: npm-2.14.13-stripped.tar.gz BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: %{?scl_prefix}nodejs-devel %{?scl:Requires: %{scl}-runtime} + +%{?scl:Obsoletes: %{scl}-nodejs-npmconf} + %description npm is a package manager for node.js. You can use it to install and publish your node programs. It manages dependencies and does other cool stuff. @@ -29,6 +32,28 @@ node programs. It manages dependencies and does other cool stuff. %nodejs_fixdep request '>2.16 <3' %nodejs_fixdep columnify 1.3.2 +%nodejs_fixdep lockfile '>= 1.0.0' +%nodejs_fixdep readable-stream '>= 2.0.2' +%nodejs_fixdep once '>= 1.3.0' +%nodejs_fixdep github-url-from-username-repo '>= 1.0.0' +%nodejs_fixdep abbrev '>= 1.0.5' +%nodejs_fixdep write-file-atomic '>= 1.1.2' +%nodejs_fixdep fstream-npm '>= 1.0.1' +%nodejs_fixdep block-stream '>= 0.0.7' +%nodejs_fixdep readable-stream '>= 2.0.2' +%nodejs_fixdep uid-number '>= 0.0.5' +%nodejs_fixdep retry '>= 0.6.0' +%nodejs_fixdep cmd-shim '>= 2.0.0' +%nodejs_fixdep read '>= 1.0.5' +%nodejs_fixdep fs-write-stream-atomic '>= 1.0.3' +%nodejs_fixdep inherits '>= 2.0.0' +%nodejs_fixdep npm-user-validate '>= 0.1.1' +%nodejs_fixdep dezalgo '>= 1.0.2' +%nodejs_fixdep ini '>= 1.2.0' +%nodejs_fixdep mkdirp '>= 0.5.0' +%nodejs_fixdep fstream '>= 1.0.3' +%nodejs_fixdep fs-vacuum '>= 1.2.6' + #remove bundled modules rm -rf node_modules @@ -90,6 +115,10 @@ rm -rf %{buildroot} %doc AUTHORS man doc html README.md LICENSE %changelog +* Mon Nov 30 2015 Tomas Hrcka - 2.14.13-6 +- Rebase to new upstream version +- https://github.com/npm/npm/releases/tag/v2.14.13 + * Wed Sep 16 2015 Tomas Hrcka - 1.4.28-5 - Resolves RHBZ#1082002