[php-phpunit-DbUnit] update to 1.0.2

Remi Collet remi at fedoraproject.org
Fri Jun 10 14:15:55 UTC 2011


commit a46323a37e54ba7a8c638a26acdf442316987788
Author: remi <fedora at famillecollet.com>
Date:   Fri Jun 10 16:15:39 2011 +0200

    update to 1.0.2

 .gitignore              |    6 +++---
 php-phpunit-DbUnit.spec |   20 ++++++++++----------
 sources                 |    2 +-
 3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 06aeecf..39f25fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/DbUnit-1.0.0.tgz
-package.xml
-/DbUnit-1.0.1.tgz
+*~
+package-*.xml
+/DbUnit-1.0.2.tgz
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index ae3b901..97239b7 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -3,8 +3,8 @@
 %global channel pear.phpunit.de
 
 Name:           php-phpunit-DbUnit
-Version:        1.0.1
-Release:        2%{?dist}
+Version:        1.0.2
+Release:        1%{?dist}
 Summary:        DbUnit port for PHP/PHPUnit
 
 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}
@@ -36,13 +36,8 @@ 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
@@ -87,6 +82,11 @@ fi
 
 
 %changelog
+* Fri Jun 10 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.2-1
+- Version 1.0.2 (stable) - API 1.0.0 (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.1-2
 - rebuild for doc in /usr/share/doc/pear
 
diff --git a/sources b/sources
index 6cb6ad0..6eb2225 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cc150251100b74879ba22a211079e8f4  DbUnit-1.0.1.tgz
+470e10d66c34f33858dfd11f1ad1b8ca  DbUnit-1.0.2.tgz


More information about the scm-commits mailing list