packages: jshint/jshint.spec, jshint/path.patch (NEW) - load jshint.js with...

glen glen at pld-linux.org
Tue May 24 08:19:59 CEST 2011


Author: glen                         Date: Tue May 24 06:19:58 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- load jshint.js with full path

---- Files affected:
packages/jshint:
   jshint.spec (1.3 -> 1.4) , path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/jshint/jshint.spec
diff -u packages/jshint/jshint.spec:1.3 packages/jshint/jshint.spec:1.4
--- packages/jshint/jshint.spec:1.3	Tue May 24 08:13:33 2011
+++ packages/jshint/jshint.spec	Tue May 24 08:19:53 2011
@@ -11,6 +11,7 @@
 Source0:	https://github.com/jshint/jshint/tarball/%{subver}#/%{name}-%{version}.tgz
 Source1:	%{name}.sh
 # Source0-md5:	5bfdc95c06e0ceefd9f185e421432424
+Patch0:		path.patch
 Requires:	java-rhino
 Requires:	jpackage-utils
 BuildArch:	noarch
@@ -28,6 +29,7 @@
 %prep
 %setup -qc
 mv *-jshint-*/* .
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/05/24 06:19:53  glen
+- load jshint.js with full path
+
 Revision 1.3  2011/05/24 06:13:33  glen
 - run via rhino
 

================================================================
Index: packages/jshint/path.patch
diff -u /dev/null packages/jshint/path.patch:1.1
--- /dev/null	Tue May 24 08:19:59 2011
+++ packages/jshint/path.patch	Tue May 24 08:19:53 2011
@@ -0,0 +1,10 @@
+--- jshint-20110416/env/rhino.js~	2011-04-16 20:03:44.000000000 +0300
++++ jshint-20110416/env/rhino.js	2011-05-24 09:18:49.461000189 +0300
+@@ -1,6 +1,6 @@
+ /*jshint boss: true */
+ 
+-load("jshint.js");
++load("/usr/share/jshint/jshint.js");
+ 
+ (function (args) {
+     var name   = args[0],
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jshint/jshint.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list