packages: php-phpquery/php-phpquery.spec, php-phpquery/cli.patch (NEW)=?UTF-8?Q?=20?=- do...

glen glen at pld-linux.org
Wed Feb 8 21:34:22 CET 2012


Author: glen                         Date: Wed Feb  8 20:34:22 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't mungle path

---- Files affected:
packages/php-phpquery:
   php-phpquery.spec (1.2 -> 1.3) , cli.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-phpquery/php-phpquery.spec
diff -u packages/php-phpquery/php-phpquery.spec:1.2 packages/php-phpquery/php-phpquery.spec:1.3
--- packages/php-phpquery/php-phpquery.spec:1.2	Wed Feb  8 21:29:05 2012
+++ packages/php-phpquery/php-phpquery.spec	Wed Feb  8 21:34:16 2012
@@ -5,13 +5,14 @@
 Summary:	phpQuery - jQuery port to PHP
 Name:		php-phpquery
 Version:	0.9.5.386
-Release:	0.11
+Release:	0.13
 License:	The MIT License
 Group:		Development/Languages/PHP
 Source0:	https://phpquery.googlecode.com/files/phpQuery-%{version}.zip
 # Source0-md5:	3ddab515c82a1a102a87f90ab319e7d1
 Patch0:		svn.patch
 Patch1:		sys-mbstring.patch
+Patch2:		cli.patch
 URL:		https://code.google.com/p/phpquery/
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.610
@@ -42,6 +43,7 @@
 mv phpQuery .pq; mv .pq/* .
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # fix shebang
 %{__sed} -i -e '1s,^#!.*env php,#!/usr/bin/php,' cli/phpquery
@@ -84,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/02/08 20:34:16  glen
+- don't mungle path
+
 Revision 1.2  2012/02/08 20:29:05  glen
 - apply fixes from svn
 

================================================================
Index: packages/php-phpquery/cli.patch
diff -u /dev/null packages/php-phpquery/cli.patch:1.1
--- /dev/null	Wed Feb  8 21:34:22 2012
+++ packages/php-phpquery/cli.patch	Wed Feb  8 21:34:16 2012
@@ -0,0 +1,18 @@
+--- php-phpquery-0.9.5.386/cli/phpquery~	2012-02-08 22:31:36.000000000 +0200
++++ php-phpquery-0.9.5.386/cli/phpquery	2012-02-08 22:32:02.021248175 +0200
+@@ -9,13 +9,9 @@
+   cat index.html | phpquery --find 'div > p' --contents
+ Docs: 
+   http://code.google.com/p/phpquery/wiki/\n");
+-/* ALL-IN-ONE-SECTION-START */
+-set_include_path(get_include_path()
+-	.':'.'/usr/lib/phpquery'
+-	.':'.realpath(dirname(__FILE__).'/../phpQuery')
+-);
++
+ require_once('phpQuery.php');
+-/* ALL-IN-ONE-SECTION-END */
++
+ //phpQuery::$debug = true;
+ //var_dump($argv);
+ if (isset($argv[1]) && parse_url($argv[1], PHP_URL_HOST)) {
================================================================

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



More information about the pld-cvs-commit mailing list