[php-phpunit-PHP-CodeCoverage/f18] update to 1.2.7

Remi Collet remi at fedoraproject.org
Sun Dec 2 16:27:29 UTC 2012


commit 21b51ef10c47d09db5566cd45d050494d5487e94
Author: Remi Collet <remi at fedoraproject.org>
Date:   Sun Dec 2 17:27:19 2012 +0100

    update to 1.2.7

 .gitignore                        |    1 +
 php-phpunit-PHP-CodeCoverage.spec |   39 ++++++++++++++++++++----------------
 sources                           |    2 +-
 3 files changed, 24 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 15c1117..1c1b0c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ package*.xml
 /PHP_CodeCoverage-1.1.2.tgz
 /PHP_CodeCoverage-1.1.3.tgz
 /PHP_CodeCoverage-1.2.6.tgz
+/PHP_CodeCoverage-1.2.7.tgz
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index 2ab77a5..25091c6 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -1,10 +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.2.6
+Version:        1.2.7
 Release:        1%{?dist}
 Summary:        PHP code coverage information
 
@@ -13,21 +13,29 @@ 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-pear(PEAR) >= 1.9.4
-BuildRequires:  php-channel(%{channel})
+BuildRequires:  php-channel(%{pear_channel})
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-xml >= 5.3.3
+Requires:       php-common >= 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.3
-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
@@ -48,7 +56,6 @@ cd %{pear_name}-%{version}
 
 %install
 cd %{pear_name}-%{version}
-rm -rf %{buildroot}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
@@ -59,10 +66,6 @@ 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 || :
@@ -70,18 +73,20 @@ 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
+* Sun Dec  2 2012 Remi Collet <remi at fedoraproject.org> - 1.2.7-1
+- Version 1.2.7 (stable) - API 1.2.0 (stable)
+
 * Mon Oct 22 2012 Remi Collet <remi at fedoraproject.org> - 1.2.6-1
 - Version 1.2.6 (stable) - API 1.2.0 (stable)
 - raise dependency: php 5.3.3, PHP_TokenStream 1.1.3
diff --git a/sources b/sources
index 62ab60d..5f6737d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-88a713c5cfd8ede72c7ebb2aab22c639  PHP_CodeCoverage-1.2.6.tgz
+1b6e0a3267122a58c9b7fd8a626b6cc0  PHP_CodeCoverage-1.2.7.tgz


More information about the scm-commits mailing list