[php-phpunit-PHP-CodeCoverage] update to 1.0.5
Remi Collet
remi at fedoraproject.org
Fri Aug 19 18:20:41 UTC 2011
commit 5dbbb3de89d142b0d04c8733174f7e76dcc5f8fa
Author: remi <fedora at famillecollet.com>
Date: Fri Aug 19 20:19:44 2011 +0200
update to 1.0.5
php-phpunit-PHP-CodeCoverage.spec | 26 +++++++++++---------------
1 files changed, 11 insertions(+), 15 deletions(-)
---
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index 6c27ffc..a6aba90 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -3,8 +3,8 @@
%global channel pear.phpunit.de
Name: php-phpunit-PHP-CodeCoverage
-Version: 1.0.4
-Release: 2%{?dist}
+Version: 1.0.5
+Release: 1%{?dist}
Summary: PHP code coverage information
Group: Development/Libraries
@@ -14,7 +14,7 @@ Source0: http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php-pear(PEAR) >= 1.9.0
+BuildRequires: php-pear(PEAR) >= 1.9.2
BuildRequires: php-channel(%{channel})
Requires(post): %{__pear}
@@ -35,18 +35,9 @@ for PHP code coverage information.
%prep
%setup -q -c
-# 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 - hack to lower PEAR dependency
-%{_bindir}/php <<EOF
-<?php
-\$xml = simplexml_load_file("../package.xml");
-\$xml->dependencies->required->pearinstaller->min="1.9.0";
-file_put_contents("%{name}.xml",\$xml->asXML());
-EOF
+# package.xml is V2
+mv ../package.xml %{name}.xml
%build
@@ -57,7 +48,7 @@ cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
-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}/.??*
@@ -91,6 +82,11 @@ fi
%changelog
+* Fri Aug 19 2011 Remi Collet <remi at fedoraproject.org> - 1.0.5-1
+- Version 1.0.5 (stable) - API 1.0.3 (stable)
+- remove PEAR hack (only needed for EPEL)
+- raise PEAR dependency to 1.9.2
+
* Tue May 3 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.4-2
- rebuild for doc in /usr/share/doc/pear
More information about the scm-commits
mailing list