[npm/f18] revert a change that adds a dep (that only affects Windows anyway)
T.C. Hollingsworth
patches at fedoraproject.org
Mon Apr 15 02:58:35 UTC 2013
commit 6bdea58da8b4a36ccb509d00c3068b0bb3f6e028
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Sun Apr 14 19:50:17 2013 -0700
revert a change that adds a dep (that only affects Windows anyway)
npm.spec | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/npm.spec b/npm.spec
index 2139313..25bd7b9 100644
--- a/npm.spec
+++ b/npm.spec
@@ -1,6 +1,6 @@
Name: npm
Version: 1.2.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Node.js Package Manager
License: MITNFA
Group: Development/Tools
@@ -9,6 +9,9 @@ Source0: http://registry.npmjs.org/npm/-/npm-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+# revert a change that adds a dep (that only affects Windows anyway)
+Patch1: npm-revert-cmd-shim.patch
+
BuildRequires: nodejs-devel
%description
@@ -17,14 +20,12 @@ node programs. It manages dependencies and does other cool stuff.
%prep
%setup -q -n package
+%patch1 -p1
%nodejs_fixdep lru-cache 2.3.x
%nodejs_fixdep init-package-json 0.0.x
%nodejs_fixdep read-package-json 0.3.x
-#this is only necessary on windows
-%nodejs_fixdep -r cmd-shim
-
#remove bundled modules
rm -rf node_modules
@@ -97,6 +98,9 @@ rm -rf %{buildroot}
%doc AUTHORS doc/* html README.md LICENSE
%changelog
+* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.17-2
+- revert a change that adds a dep (that only affects Windows anyway)
+
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.17-1
- new upstream release 1.2.17
More information about the scm-commits
mailing list