[php-pear-Benchmark] update to 1.2.9
Remi Collet
remi at fedoraproject.org
Sun Dec 11 18:21:54 UTC 2011
commit 994792c7f35488638be2c1b7454d97dceade7ac1
Author: remi <fedora at famillecollet.com>
Date: Sun Dec 11 19:21:50 2011 +0100
update to 1.2.9
.gitignore | 3 +++
php-pear-Benchmark.spec | 14 ++++++++------
sources | 2 +-
3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 38e4383..3363f39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+package-*.xml
+*spec~
Benchmark-1.2.7.tgz
package.xml
/Benchmark-1.2.8.tgz
+/Benchmark-1.2.9.tgz
diff --git a/php-pear-Benchmark.spec b/php-pear-Benchmark.spec
index 4c39dc2..ce7b170 100644
--- a/php-pear-Benchmark.spec
+++ b/php-pear-Benchmark.spec
@@ -2,8 +2,8 @@
%global pear_name Benchmark
Name: php-pear-Benchmark
-Version: 1.2.8
-Release: 3%{?dist}
+Version: 1.2.9
+Release: 1%{?dist}
Summary: Framework to benchmark PHP scripts or function calls
Group: Development/Libraries
@@ -31,9 +31,8 @@ Framework to benchmark PHP scripts or function calls.
%setup -qc
%{_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
+# https://pear.php.net/bugs/19128
+sed -i -e '/README/s/role="data"/role="doc"/' package.xml
cd %{pear_name}-%{version}
# package.xml is V2
@@ -48,7 +47,7 @@ cd %{pear_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
cd %{pear_name}-%{version}
-PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
@@ -82,6 +81,9 @@ fi
%changelog
+* Sun Dec 11 2011 Remi Collet <remi at fedoraproject.org> - 1.2.9-1
+- Version 1.2.9 (stable) - API 1.2.7 (stable) - QA release
+
* Wed Apr 06 2011 Remi Collet <Fedora at FamilleCollet.com> - 1.2.8-3
- doc in /usr/share/doc/pear
diff --git a/sources b/sources
index 23c3609..ef4b8da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4a4a1c6fbf2703ffd13167a8d34bd8d4 Benchmark-1.2.8.tgz
+ba08061a854b1c7cd7a18d0928c44b8b Benchmark-1.2.9.tgz
More information about the scm-commits
mailing list