commit 41e954461f580626fb9186b6b0acc31d726d38c9
Author: Aria <[email protected]>
Date:   Sat Feb 16 09:41:26 2013 -0700

    v2.1.1

 nodejs-nopt.spec | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/nodejs-nopt.spec b/nodejs-nopt.spec
index eda7c4f..0994ada 100644
--- a/nodejs-nopt.spec
+++ b/nodejs-nopt.spec
@@ -1,19 +1,18 @@
-%define                git_hash 51b1869
 %define                pkg     nopt
 Summary:       Node.js option parsing
 Name:          nodejs-%{pkg}
-Version:       1.0.10
-Release:       2
+Version:       2.1.1
+Release:       1
 License:       MIT
 Group:         Development/Libraries
 URL:           https://github.com/isaacs/nopt
-# download from https://github.com/isaacs/%{pkg}/tarball/%%{version}
-Source0:       isaacs-%{pkg}-%{version}-0-g%{git_hash}.tar.gz
-# Source0-md5: d72434b028241bd406a48d29eec64656
+Source0:       http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5: b2cf204cb26969c04e2af14edf0b23ab
 BuildRequires: rpmbuild(macros) >= 1.634
 BuildRequires: sed >= 4.0
 Requires:      nodejs
-Requires:      nodejs-abbrev
+Requires:      nodejs-abbrev >= 1.0.0
+Requires:   nodejs-abbrev < 2.0.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,7 +21,7 @@ An option parsing library for Node.js and its package manager 
(npm).
 
 %prep
 %setup -qc
-mv isaacs-%{pkg}-*/* .
+mv package/* .
 
 %{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' bin/*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-nopt.git/commitdiff/41e954461f580626fb9186b6b0acc31d726d38c9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to