[php-phpunit-PHP-Invoker/el6] update to 1.0.1

Remi Collet remi at fedoraproject.org
Tue Jan 17 17:27:59 UTC 2012


commit 6df37fab81d4c88a40532c5abccd03e57421ac5e
Author: remi <fedora at famillecollet.com>
Date:   Tue Jan 17 18:27:32 2012 +0100

    update to 1.0.1

 .gitignore                   |    1 +
 php-phpunit-PHP-Invoker.spec |   19 +++++++++----------
 sources                      |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6d426d6..1c199aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 *spec~
 package-*.xml
 /PHP_Invoker-1.0.0.tgz
+/PHP_Invoker-1.0.1.tgz
diff --git a/php-phpunit-PHP-Invoker.spec b/php-phpunit-PHP-Invoker.spec
index c742ead..44266f2 100644
--- a/php-phpunit-PHP-Invoker.spec
+++ b/php-phpunit-PHP-Invoker.spec
@@ -4,8 +4,8 @@
 %global pear_name PHP_Invoker
 
 Name:           php-phpunit-PHP-Invoker
-Version:        1.0.0
-Release:        3%{?dist}
+Version:        1.0.1
+Release:        1%{?dist}
 Summary:        Utility class for invoking callables with a timeout
 
 Group:          Development/Libraries
@@ -15,12 +15,12 @@ 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.4
 BuildRequires:  php-channel(%{channel})
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(PEAR) >= 1.9.0
+Requires:       php-pear(PEAR) >= 1.9.4
 Requires:       php-channel(%{channel})
 # merge php-cntl + php >= 5.2.7, php-cli provides php-pcntl
 Requires:       php-cli >= 5.2.7
@@ -35,12 +35,7 @@ Utility class for invoking callables with a timeout.
 %setup -q -c
 cd %{pear_name}-%{version}
 # package.xml is V2
-%{_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
+mv ../package.xml %{name}.xml
 
 
 %build
@@ -84,6 +79,10 @@ fi
 
 
 %changelog
+* Sat Nov 26 2011 Remi Collet <remi at fedoraproject.org> - 1.0.1-1
+- Update to 1.0.1 (stable) - API 1.0.0
+- remove pear version hack
+
 * Tue Nov 01 2011 Remi Collet <remi at fedoraproject.org> - 1.0.0-3.el6
 - lower PEAR version required on EL-6
 
diff --git a/sources b/sources
index 131cbeb..a31dd25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4497829dadcad7ba1992c085716b3963  PHP_Invoker-1.0.0.tgz
+1170a859bda39444cd7758772b9fcccc  PHP_Invoker-1.0.1.tgz


More information about the scm-commits mailing list