[php-phpunit-PHP-CodeCoverage/el6] update to 1.2.9

Remi Collet remi at fedoraproject.org
Fri Apr 12 15:28:06 UTC 2013


commit bd0ffdc6d0bc91ba8689a15d4b1c07ff1b6b4bdb
Author: Remi Collet <rcollet at redhat.com>
Date:   Fri Apr 12 17:27:59 2013 +0200

    update to 1.2.9

 .gitignore                        |    5 ++++
 php-phpunit-PHP-CodeCoverage.spec |   44 +++++++++++++++++++++---------------
 sources                           |    2 +-
 3 files changed, 32 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7dc5a56..a8f083a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,8 @@ package*.xml
 /PHP_CodeCoverage-1.1.0.tgz
 /PHP_CodeCoverage-1.1.1.tgz
 /PHP_CodeCoverage-1.1.2.tgz
+/PHP_CodeCoverage-1.1.3.tgz
+/PHP_CodeCoverage-1.2.6.tgz
+/PHP_CodeCoverage-1.2.7.tgz
+/PHP_CodeCoverage-1.2.8.tgz
+/PHP_CodeCoverage-1.2.9.tgz
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index c2963c6..1b1a68d 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -1,9 +1,10 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%global pear_name PHP_CodeCoverage
-%global channel pear.phpunit.de
+%global pear_name    PHP_CodeCoverage
+%global pear_channel pear.phpunit.de
 
 Name:           php-phpunit-PHP-CodeCoverage
-Version:        1.1.2
+Version:        1.2.9
 Release:        1%{?dist}
 Summary:        PHP code coverage information
 
@@ -12,21 +13,30 @@ License:        BSD
 URL:            https://github.com/sebastianbergmann/php-code-coverage
 Source0:        http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  php(language) >= 5.3.3
 BuildRequires:  php-pear(PEAR) >= 1.9.4
-BuildRequires:  php-channel(%{channel})
+BuildRequires:  php-channel(%{pear_channel})
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-xml >= 5.2.7
+Requires:       php(language) >= 5.3.3
+Requires:       php-date
+Requires:       php-dom
+Requires:       php-json
+Requires:       php-pcre
+Requires:       php-reflection
+Requires:       php-spl
+Requires:       php-tokenizer
 Requires:       php-pecl(Xdebug) >= 2.0.5
-Requires:       php-pear(%{channel}/File_Iterator) >= 1.3.0
-Requires:       php-pear(%{channel}/PHP_TokenStream) >= 1.1.0
-Requires:       php-pear(%{channel}/Text_Template) >= 1.1.1
+Requires:       php-pear(PEAR) >= 1.9.4
+Requires:       php-channel(%{pear_channel})
+Requires:       php-pear(%{pear_channel}/File_Iterator) >= 1.3.0
+Requires:       php-pear(%{pear_channel}/PHP_TokenStream) >= 1.1.3
+Requires:       php-pear(%{pear_channel}/Text_Template) >= 1.1.1
 Requires:       php-pear(components.ez.no/ConsoleTools) >= 1.6
 
-Provides:       php-pear(%{channel}/%{pear_name}) = %{version}
+Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 
 %description
 Library that provides collection, processing, and rendering functionality
@@ -47,21 +57,16 @@ cd %{pear_name}-%{version}
 
 %install
 cd %{pear_name}-%{version}
-rm -rf %{buildroot}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
-rm -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
 
 # Install XML package description
 mkdir -p %{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 || :
@@ -69,18 +74,21 @@ 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
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/PHP
 
 
 %changelog
+* Wed Feb 27 2013 Remi Collet <remi at fedoraproject.org> - 1.2.9-1
+- Update to 1.2.9
+- raise dependency: php 5.3.3, PHP_TokenStream 1.1.3
+
 * Thu Feb 23 2012 Remi Collet <remi at fedoraproject.org> - 1.1.2-1
 - Version 1.1.2 (stable) - API 1.1.0 (stable)
 
diff --git a/sources b/sources
index c7ef22a..abdb75c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-db0da7aa2c2b4f1c4da607cf2df4d1b3  PHP_CodeCoverage-1.1.2.tgz
+60936df0b08f3fbb0214215ac5e9de42  PHP_CodeCoverage-1.2.9.tgz


More information about the scm-commits mailing list