[php-pear-Log] update to 1.12.3, run tests during %%check

Remi Collet remi at fedoraproject.org
Tue Sep 28 15:35:40 UTC 2010


commit 1fce3cfe3a078ed7485339926a96c01587ff209a
Author: remi <fedora at famillecollet.com>
Date:   Tue Sep 28 17:35:38 2010 +0200

    update to 1.12.3, run tests during %%check

 .gitignore        |    1 +
 php-pear-Log.spec |   21 ++++++++++-----------
 sources           |    2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 63f690f..9442d0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Log-1.12.1.tgz
 /Log-1.12.2.tgz
 package.xml
+/Log-1.12.3.tgz
diff --git a/php-pear-Log.spec b/php-pear-Log.spec
index a22e31d..8fa9b68 100644
--- a/php-pear-Log.spec
+++ b/php-pear-Log.spec
@@ -4,7 +4,7 @@
 Summary:        Abstracted logging facility for PHP
 Summary(fr):    Abstraction des outils d'enregistrement de traces pour PHP
 Name:           php-pear-Log
-Version:        1.12.2
+Version:        1.12.3
 Release:        1%{?dist}
 License:        MIT
 Group:          Development/Libraries
@@ -88,16 +88,11 @@ rm -rf %{buildroot}
 lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
 [ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;
 
-# Can't be used... tests fails because of date.timezone... :(
-# cd %{pear_name}-%{version}
-# PHPRC=../php.ini %{__pear} run-tests -i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" tests
-
-# For documentation purpose only
-# After install, as root :
-# LANG=C pear run-tests -i "-d date.timezone=UTC" -p Log
-# Should return (1.12.2)
-# 20 PASSED TESTS
-# 1 SKIPPED TESTS
+cd %{pear_name}-%{version}
+PHPRC=../php.ini %{__pear} \
+   run-tests \
+   -i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
+   tests
 
 
 %post
@@ -121,6 +116,10 @@ fi
 
 
 %changelog
+* Tue Sep 28 2010 Remi Collet <Fedora at FamilleCollet.com> 1.12.3-1
+- Version 1.12.3 (stable) - API 1.0.0 (stable)
+- run tests during %%check
+
 * Sun Aug 29 2010 Remi Collet <Fedora at FamilleCollet.com> 1.12.2-1
 - Version 1.12.2 (stable) - API 1.0.0 (stable)
 
diff --git a/sources b/sources
index 21da36a..acf3f21 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70ca19417fcaa2e1e58a9a831bc2f53c  Log-1.12.2.tgz
+9930cb6d52b3af2ca6a24db267e237f0  Log-1.12.3.tgz


More information about the scm-commits mailing list