SOURCES: php-pear-PEAR-rpmvars.patch - fix @have_tests@

glen glen at pld-linux.org
Thu Sep 29 00:07:05 CEST 2005


Author: glen                         Date: Wed Sep 28 22:07:05 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix @have_tests@

---- Files affected:
SOURCES:
   php-pear-PEAR-rpmvars.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-rpmvars.patch
diff -u SOURCES/php-pear-PEAR-rpmvars.patch:1.8 SOURCES/php-pear-PEAR-rpmvars.patch:1.9
--- SOURCES/php-pear-PEAR-rpmvars.patch:1.8	Wed Sep 28 23:26:08 2005
+++ SOURCES/php-pear-PEAR-rpmvars.patch	Thu Sep 29 00:07:00 2005
@@ -172,7 +172,7 @@
  		} else {
  			$info['doc_files'] = '';
  		}
-+		$info['have_tests'] = (count($info['test_files']) > 0) + 0;
++		$info['have_tests'] = (strlen($info['test_files']) > 0) + 0;
  
          if ($srcfiles > 0) {
              require_once 'OS/Guess.php';
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-pear-PEAR-rpmvars.patch?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list