packages: nodejs-minimatch/nodejs-minimatch.spec, nodejs-minimatch/nodejs-m...

glen glen at pld-linux.org
Thu Jun 14 23:15:45 CEST 2012


Author: glen                         Date: Thu Jun 14 21:15:45 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.2.4

---- Files affected:
packages/nodejs-minimatch:
   nodejs-minimatch.spec (1.1 -> 1.2) , nodejs-minimatch-fixdeps.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nodejs-minimatch/nodejs-minimatch.spec
diff -u packages/nodejs-minimatch/nodejs-minimatch.spec:1.1 packages/nodejs-minimatch/nodejs-minimatch.spec:1.2
--- packages/nodejs-minimatch/nodejs-minimatch.spec:1.1	Wed Jan 25 23:44:47 2012
+++ packages/nodejs-minimatch/nodejs-minimatch.spec	Thu Jun 14 23:15:40 2012
@@ -1,19 +1,19 @@
 # $Revision$, $Date$
-%define		git_hash 6e8c1c6
 %define		pkg	minimatch
 Summary:	JavaScript glob matcher
 Name:		nodejs-%{pkg}
-Version:	0.0.4
+Version:	0.2.4
 Release:	1
 License:	MIT
 Group:		Development/Libraries
 URL:		https://github.com/isaacs/minimatch
-# download from https://github.com/isaacs/%{pkg}/tarball/%%{version}
-Source0:	isaacs-%{pkg}-%{version}-0-g%{git_hash}.tar.gz
-# Source0-md5:	87077d75141c301d4b6a4e0af68276a1
+Source0:	http://registry.npmjs.org/minimatch/-/minimatch-%{version}.tgz
+# Source0-md5:	8ebe9a77e7e120aaa473052a5324b995
+# fix deps to newer version in RPMs
+Patch0:		nodejs-minimatch-fixdeps.patch
 BuildRequires:	rpmbuild(macros) >= 1.634
 Requires:	nodejs
-Requires:	nodejs-lru-cache
+Requires:	nodejs-lru-cache >= 1.1.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,7 +22,8 @@
 
 %prep
 %setup -qc
-mv isaacs-%{pkg}-*/* .
+mv package/* .
+%patch0 -p0
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +46,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/06/14 21:15:40  glen
+- up to 0.2.4
+
 Revision 1.1  2012/01/25 22:44:47  glen
 - initial node pkgs for npm deps
   based on specs from http://nodejs.tchol.org/ repo

================================================================
Index: packages/nodejs-minimatch/nodejs-minimatch-fixdeps.patch
diff -u /dev/null packages/nodejs-minimatch/nodejs-minimatch-fixdeps.patch:1.1
--- /dev/null	Thu Jun 14 23:15:45 2012
+++ packages/nodejs-minimatch/nodejs-minimatch-fixdeps.patch	Thu Jun 14 23:15:40 2012
@@ -0,0 +1,11 @@
+--- package.json.orig	2012-03-28 18:44:43.000000000 -0700
++++ package.json	2012-04-26 19:08:33.741860892 -0700
+@@ -15,7 +15,7 @@
+     "node": "*"
+   },
+   "dependencies": {
+-    "lru-cache": "~1.0.5"
++    "lru-cache": "1.1.x"
+   },
+   "devDependencies": {
+     "tap": ""
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/nodejs-minimatch/nodejs-minimatch.spec?r1=1.1&r2=1.2



More information about the pld-cvs-commit mailing list