[php-pear-MDB2] update to 2.5.0b5

Remi Collet remi at fedoraproject.org
Mon Oct 29 16:45:47 UTC 2012


commit 9c5ae357b9e1c3ca225581594e22f534525c1cfb
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Oct 29 17:45:26 2012 +0100

    update to 2.5.0b5

 php-pear-MDB2.spec |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/php-pear-MDB2.spec b/php-pear-MDB2.spec
index f35b038..f9880b2 100644
--- a/php-pear-MDB2.spec
+++ b/php-pear-MDB2.spec
@@ -1,12 +1,12 @@
 %{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
 %global pear_name MDB2
-%global prever    b4
+%global prever    b5
 
 Name:           php-pear-MDB2
 Version:        2.5.0
 %if 0%{?prever:1}
-Release:        0.7.%{?prever}%{?dist}
+Release:        0.8.%{?prever}%{?dist}
 %else
 Release:        4%{?dist}
 %endif
@@ -24,7 +24,9 @@ BuildRequires:  php-pear(PEAR) >= 1.9.1
 Requires:       php-common >= 5.2.0
 Requires:       php-pear(PEAR) >= 1.9.1
 # phpci detected required extension
-Requires:       php-date, php-pcre, php-spl
+Requires:       php-date
+Requires:       php-pcre
+Requires:       php-spl
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
 
@@ -42,10 +44,6 @@ portability.
 
 %prep
 %setup -qc
-# Create a "localized" php.ini to avoid build warning
-cp /etc/php.ini .
-echo "date.timezone=UTC" >>php.ini
-
 cd %{pear_name}-%{version}%{?prever}
 # package.xml is V2
 sed -e '/LICENSE/s/role="data"/role="doc"/' <../package.xml >%{name}.xml
@@ -59,7 +57,7 @@ cd %{pear_name}-%{version}%{?prever}
 %install
 rm -rf $RPM_BUILD_ROOT
 cd %{pear_name}-%{version}%{?prever}
-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_metadir}/.??*
@@ -94,7 +92,10 @@ fi
 
 
 %changelog
-* Wed Oct 24 2012 Remi Collet <Fedora at FamilleCollet.com> - 2.5.0-0.7.b4
+* Mon Oct 29 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-0.8.b5
+- update to 2.5.0b5
+
+* Wed Oct 24 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-0.7.b4
 - update to 2.5.0b4
 
 * Tue Aug 14 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-0.6.b3


More information about the scm-commits mailing list