[packages/php-pear-PHP_CodeSniffer] - up to 1.4.3
glen
glen at pld-linux.org
Wed Dec 19 20:57:51 CET 2012
commit b7da5d50e3f8eefd81378708c726b04b9185607c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Dec 19 21:57:44 2012 +0200
- up to 1.4.3
case-sensitive.patch | 14 +++++++-------
php-pear-PHP_CodeSniffer.spec | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/php-pear-PHP_CodeSniffer.spec b/php-pear-PHP_CodeSniffer.spec
index e820148..c63c11a 100644
--- a/php-pear-PHP_CodeSniffer.spec
+++ b/php-pear-PHP_CodeSniffer.spec
@@ -9,13 +9,13 @@
Summary: PHP_CodeSniffer tokenises PHP code and detects violations of a defined set of coding standards
Summary(pl.UTF-8): PHP_CodeSniffer analizuje kod PHP pod kątem naruszeń zdefiniowanych standardów kodowania
Name: php-pear-%{pearname}
-Version: 1.4.0
-Release: 2
+Version: 1.4.3
+Release: 1
Epoch: 1
License: BSD License
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
-# Source0-md5: a299051c1dfa3d10ca198d0523e557e7
+# Source0-md5: 5183c6f31cb154f4adbc4f7044a79645
Patch0: case-sensitive.patch
Patch1: peardeps.patch
URL: http://pear.php.net/package/PHP_CodeSniffer/
@@ -74,4 +74,4 @@ fi
%attr(755,root,root) %{_bindir}/phpcs
%{php_pear_dir}/PHP/CodeSniffer
%{php_pear_dir}/PHP/CodeSniffer.php
-%{php_pear_dir}/data/PHP_CodeSniffer
+#%{php_pear_dir}/data/PHP_CodeSniffer
diff --git a/case-sensitive.patch b/case-sensitive.patch
index 402070f..4f1b1dd 100644
--- a/case-sensitive.patch
+++ b/case-sensitive.patch
@@ -1,11 +1,11 @@
---- PHP_CodeSniffer-1.3.3/usr/share/pear/PHP/CodeSniffer.php~ 2012-03-25 18:48:04.000000000 +0300
-+++ PHP_CodeSniffer-1.3.3/usr/share/pear/PHP/CodeSniffer.php 2012-03-25 19:18:24.342112400 +0300
-@@ -1097,7 +1097,7 @@
- );
+--- PHP_CodeSniffer-1.4.3/usr/share/pear/PHP/CodeSniffer.php~ 2012-12-19 21:54:32.000000000 +0200
++++ PHP_CodeSniffer-1.4.3/usr/share/pear/PHP/CodeSniffer.php 2012-12-19 21:56:17.677485504 +0200
+@@ -1240,7 +1240,7 @@
+ $testPath = $path;
+ }
- $pattern = strtr($pattern, $replacements);
-- if (preg_match("|{$pattern}|i", $path) === 1) {
-+ if (preg_match("|{$pattern}|", $path) === 1) {
+- if (preg_match("|{$pattern}|i", $testPath) === 1) {
++ if (preg_match("|{$pattern}|", $testPath) === 1) {
return true;
}
}//end foreach
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PHP_CodeSniffer.git/commitdiff/b7da5d50e3f8eefd81378708c726b04b9185607c
More information about the pld-cvs-commit
mailing list