[php-pear-Log] update to 1.12.7
Remi Collet
remi at fedoraproject.org
Thu Sep 22 17:37:06 UTC 2011
commit e79460f6fcd717ac6829ade3ed361bc09815c850
Author: remi <fedora at famillecollet.com>
Date: Thu Sep 22 19:36:51 2011 +0200
update to 1.12.7
.gitignore | 1 +
php-pear-Log.spec | 17 ++++++++---------
sources | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 092e13e..bcfe49f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
package*xml
/Log-1.12.5.tgz
/Log-1.12.6.tgz
+/Log-1.12.7.tgz
diff --git a/php-pear-Log.spec b/php-pear-Log.spec
index 8a881d6..6f460e4 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.6
+Version: 1.12.7
Release: 1%{?dist}
License: MIT
Group: Development/Libraries
@@ -48,10 +48,6 @@ php-pear-Log peut optionnellement utiliser les extensions
%setup -c -q
%{_bindir}/php -n %{SOURCE2} package.xml | tee CHANGELOG | head -n 10
-# Create a "localized" php.ini to avoid build warning
-cp /etc/php.ini .
-echo "date.timezone=UTC" >>php.ini
-
cd %{pear_name}-%{version}
# package.xml is V2
mv ../package.xml %{name}.xml
@@ -65,14 +61,13 @@ mv ../package.xml %{name}.xml
rm -rf %{buildroot}
pushd Log-%{version}
-PHPRC=../php.ini %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
-%{__mkdir_p} %{buildroot}%{pear_xmldir}
-%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+install -D -p -m 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
popd
@@ -86,7 +81,7 @@ lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
[ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;
cd %{pear_name}-%{version}
-PHPRC=../php.ini %{__pear} \
+%{__pear} \
run-tests \
-i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
tests | tee ../tests.log
@@ -115,6 +110,10 @@ fi
%changelog
+* Thu Sep 22 2011 Remi Collet <Fedora at FamilleCollet.com> 1.12.7-1
+- Version 1.12.7 (stable) - API 1.0.0 (stable)
+- minor spec cleanups
+
* Fri May 27 2011 Remi Collet <Fedora at FamilleCollet.com> 1.12.6-1
- Version 1.12.6 (stable) - API 1.0.0 (stable)
diff --git a/sources b/sources
index e8c882d..71d9e56 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c1c407be92db7d111921fdc9888e13a6 Log-1.12.6.tgz
+8594a3d89eac997f072fa088b1eddc42 Log-1.12.7.tgz
More information about the scm-commits
mailing list