[php-phpunit-PHPUnit/f18] Version 3.7.9 (stable) - API 3.7.0 (stable)

Remi Collet remi at fedoraproject.org
Wed Nov 7 06:34:34 UTC 2012


commit 15e86a06259abeae1c8251291eaa9b48744878db
Author: Remi Collet <remi at fedoraproject.org>
Date:   Wed Nov 7 07:22:52 2012 +0100

    Version 3.7.9 (stable) - API 3.7.0 (stable)

 .gitignore               |    1 +
 php-phpunit-PHPUnit.spec |   54 ++++++++++++++++++++++++++-------------------
 sources                  |    2 +-
 3 files changed, 33 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aebc7e5..d0d4c19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ package*.xml
 /PHPUnit-3.6.11.tgz
 /PHPUnit-3.6.12.tgz
 /PHPUnit-3.7.8.tgz
+/PHPUnit-3.7.9.tgz
diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec
index 303d1dc..82398cd 100644
--- a/php-phpunit-PHPUnit.spec
+++ b/php-phpunit-PHPUnit.spec
@@ -1,10 +1,10 @@
 %{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%global pear_name PHPUnit
-%global channel pear.phpunit.de
+%global pear_name    PHPUnit
+%global pear_channel pear.phpunit.de
 
 Name:           php-phpunit-PHPUnit
-Version:        3.7.8
+Version:        3.7.9
 Release:        1%{?dist}
 Summary:        The PHP Unit Testing framework
 
@@ -17,28 +17,38 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  php-pear(PEAR) >= 1.9.4
-BuildRequires:  php-channel(%{channel})
-
-Requires:       php-xml >= 5.3.3
-Requires:       php-channel(%{channel})
+BuildRequires:  php-channel(%{pear_channel})
+
+Requires:       php(language) >= 5.3.3
+Requires:       php-ctype
+Requires:       php-dom
+Requires:       php-libxml
+Requires:       php-pcntl
+Requires:       php-pcre
+Requires:       php-reflection
+Requires:       php-spl
+Requires:       php-tidy
+Requires:       php-channel(%{pear_channel})
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(%{channel}/File_Iterator) >= 1.3.0
-Requires:       php-pear(%{channel}/Text_Template) >= 1.1.1
-Requires:       php-pear(%{channel}/PHP_CodeCoverage) >= 1.2.1
-Conflicts:      php-pear(%{channel}/PHP_CodeCoverage) >  1.2.99
-Requires:       php-pear(%{channel}/PHP_Timer) >= 1.0.2
+Requires:       php-pear(%{pear_channel}/File_Iterator) >= 1.3.0
+Requires:       php-pear(%{pear_channel}/Text_Template) >= 1.1.1
+Requires:       php-pear(%{pear_channel}/PHP_CodeCoverage) >= 1.2.1
+Conflicts:      php-pear(%{pear_channel}/PHP_CodeCoverage) >  1.2.99
+Requires:       php-pear(%{pear_channel}/PHP_Timer) >= 1.0.2
 Requires:       php-pear(pear.symfony.com/Yaml) >= 2.1.0
 # PHPUnit Extensions (yes, with circular dependency on PHPUnit)
-Requires:       php-pear(%{channel}/PHPUnit_MockObject) >= 1.2.0
-Conflicts:      php-pear(%{channel}/PHPUnit_MockObject) >  1.2.99
+Requires:       php-pear(%{pear_channel}/PHPUnit_MockObject) >= 1.2.0
+Conflicts:      php-pear(%{pear_channel}/PHPUnit_MockObject) >  1.2.99
 
 # Optionnal dependencies
-Requires:       php-json php-pdo php-mbstring
+Requires:       php-json
+Requires:       php-pdo
+Requires:       php-mbstring
 Requires:       php-pecl(Xdebug) >= 2.0.5
-Requires:       php-pear(%{channel}/PHP_Invoker) >= 1.1.0
+Requires:       php-pear(%{pear_channel}/PHP_Invoker) >= 1.1.0
 
-Provides:       php-pear(%{channel}/%{pear_name}) = %{version}
+Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 Obsoletes:      php-pear-PHPUnit < %{version}
 Provides:       php-pear-PHPUnit = %{version}-%{release}
 
@@ -64,7 +74,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 
 # Install Package
@@ -78,10 +87,6 @@ install -d %{buildroot}%{pear_xmldir}
 install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -89,7 +94,7 @@ rm -rf %{buildroot}
 %postun
 if [ $1 -eq 0 ] ; then
     %{__pear} uninstall --nodeps --ignore-errors --register-only \
-        %{channel}/%{pear_name} >/dev/null || :
+        %{pear_channel}/%{pear_name} >/dev/null || :
 fi
 
 %triggerpostun -- php-pear-PHPUnit
@@ -108,6 +113,9 @@ fi
 
 
 %changelog
+* Wed Nov 07 2012 Remi Collet <remi at fedoraproject.org> - 3.7.9-1
+- Version 3.7.9 (stable) - API 3.7.0 (stable)
+
 * Wed Oct 31 2012 Remi Collet <remi at fedoraproject.org> - 3.7.8-1
 - Version 3.7.8 (stable) - API 3.7.0 (stable)
 - add Conflicts for max version of PHP_CodeCoverage and PHPUnit_MockObject
diff --git a/sources b/sources
index 268531f..cb4fe18 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7e40d23e937a116c070dfd16e48e840  PHPUnit-3.7.8.tgz
+b726936ecac5632476a0a845bc9deb94  PHPUnit-3.7.9.tgz


More information about the scm-commits mailing list