packages: php-predis/php-predis.spec, php-predis/tests.patch - up to 0.6.6
glen
glen at pld-linux.org
Thu Oct 20 11:54:58 CEST 2011
Author: glen Date: Thu Oct 20 09:54:58 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.6.6
---- Files affected:
packages/php-predis:
php-predis.spec (1.4 -> 1.5) , tests.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/php-predis/php-predis.spec
diff -u packages/php-predis/php-predis.spec:1.4 packages/php-predis/php-predis.spec:1.5
--- packages/php-predis/php-predis.spec:1.4 Fri Oct 14 06:59:48 2011
+++ packages/php-predis/php-predis.spec Thu Oct 20 11:54:53 2011
@@ -13,12 +13,12 @@
Summary: Flexible and feature-complete PHP client library for Redis
Summary(pl.UTF-8): %{modname} -
Name: php-%{modname}
-Version: 0.6.3
+Version: 0.6.6
Release: 1
License: BSD-like
Group: Development/Languages/PHP
Source0: http://github.com/nrk/predis/tarball/v%{version}-PHP5.2#/%{modname}-%{version}.tgz
-# Source0-md5: b2ef17667e10d74b9767459aa2981288
+# Source0-md5: 082528157e0a30dcccc1e844f43eb968
Source1: run-tests.sh
Patch0: tests.patch
URL: https://github.com/nrk/predis/wiki
@@ -40,16 +40,10 @@
%setup -qc
mv *-predis-*/* .
%patch0 -p1
-install -p %{SOURCE1} test
-
-%if "%{version}" == "0.6.3"
-# skip broken test. not the nicest thing to do, but oh well.
-sed -i -e '255d' test/RedisCommandsTest.php
-%endif
+ln -s %{SOURCE1} .
%build
%if %{with tests}
-cd test
sh -x run-tests.sh
%endif
@@ -76,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2011/10/20 09:54:53 glen
+- up to 0.6.6
+
Revision 1.4 2011/10/14 04:59:48 glen
- up to 0.6.3
================================================================
Index: packages/php-predis/tests.patch
diff -u packages/php-predis/tests.patch:1.1 packages/php-predis/tests.patch:1.2
--- packages/php-predis/tests.patch:1.1 Sat Oct 9 17:07:14 2010
+++ packages/php-predis/tests.patch Thu Oct 20 11:54:53 2011
@@ -1,23 +1,20 @@
---- php-predis-0.6.1/test/PredisShared.php 2010-10-09 17:38:52.650508019 +0300
-+++ php-predis-0.6.1/test/PredisShared.php 2010-10-09 17:46:01.993925181 +0300
-@@ -1,9 +1,9 @@
+--- php-predis-0.6.6/test/PredisShared.php~ 2011-10-20 12:45:42.000000000 +0300
++++ php-predis-0.6.6/test/PredisShared.php 2011-10-20 12:46:47.993123318 +0300
+@@ -1,7 +1,7 @@
<?php
- require_once '../lib/Predis.php';
+ // -------------------------------------------------------------------------- //
--if (I_AM_AWARE_OF_THE_DESTRUCTIVE_POWER_OF_THIS_TEST_SUITE !== true) {
-+/*if (I_AM_AWARE_OF_THE_DESTRUCTIVE_POWER_OF_THIS_TEST_SUITE !== true) {
- exit('Please set the I_AM_AWARE_OF_THE_DESTRUCTIVE_POWER_OF_THIS_TEST_SUITE constant to TRUE if you want to proceed.');
--}
-+}*/
+-define('I_AM_AWARE_OF_THE_DESTRUCTIVE_POWER_OF_THIS_TEST_SUITE', false);
++define('I_AM_AWARE_OF_THE_DESTRUCTIVE_POWER_OF_THIS_TEST_SUITE', true);
+
+ // -------------------------------------------------------------------------- //
- if (!function_exists('array_union')) {
- function array_union(Array $a, Array $b) {
@@ -17,7 +17,7 @@
class RC {
const SERVER_HOST = '127.0.0.1';
- const SERVER_PORT = 6379;
-+ const SERVER_PORT = 6380;
++ const SERVER_PORT = 6380; // non-standard port, so shouldn't destroy
const DEFAULT_DATABASE = 15;
const WIPE_OUT = 1;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-predis/php-predis.spec?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-predis/tests.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list