summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-05-25 09:26:46 +0200
committerRemi Collet <fedora@famillecollet.com>2016-05-25 09:26:46 +0200
commit1486d7b7ebcbd256141f52ea84d083f8a829f68b (patch)
tree5a15c40602dfe081d5eb9460298cbd8e928e0fa8
parent30eb55ad04f7a3b704e5fd653335dc5ad54eae34 (diff)
php-phpunit-PHP-CodeCoverage: 3.3.2
-rw-r--r--php-phpunit-PHP-CodeCoverage-dev.spec14
-rw-r--r--php-phpunit-PHP-CodeCoverage-upstream.patch134
2 files changed, 6 insertions, 142 deletions
diff --git a/php-phpunit-PHP-CodeCoverage-dev.spec b/php-phpunit-PHP-CodeCoverage-dev.spec
index 28398bc..e80d09a 100644
--- a/php-phpunit-PHP-CodeCoverage-dev.spec
+++ b/php-phpunit-PHP-CodeCoverage-dev.spec
@@ -8,7 +8,7 @@
#
%global bootstrap 0
-%global gh_commit 2431befdd451fac43fbcde94d1a92fb3b8b68f86
+%global gh_commit 4862dac433cbdb4438b593fa7f79e07559ba157e
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@@ -17,8 +17,8 @@
%global pear_name PHP_CodeCoverage
%global pear_channel pear.phpunit.de
%global major 3.3
-%global minor 1
-%global specrel 2
+%global minor 2
+%global specrel 1
%if %{bootstrap}
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
%else
@@ -35,9 +35,6 @@ License: BSD
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
-# Fix for environment 1.3.6
-Patch0: %{name}-upstream.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php(language) >= 5.6
@@ -99,8 +96,6 @@ for PHP code coverage information.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
-%patch0 -p1
-
%build
phpab \
@@ -171,6 +166,9 @@ fi
%changelog
+* Wed May 25 2016 Remi Collet <remi@fedoraproject.org> - 3.3.2-1
+- Update to 3.3.2
+
* Wed May 4 2016 Remi Collet <remi@fedoraproject.org> - 3.3.1-2
- add upstream patch for environment 1.3.6
https://github.com/sebastianbergmann/php-code-coverage/pull/435
diff --git a/php-phpunit-PHP-CodeCoverage-upstream.patch b/php-phpunit-PHP-CodeCoverage-upstream.patch
deleted file mode 100644
index a25a99b..0000000
--- a/php-phpunit-PHP-CodeCoverage-upstream.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From 5c8dd64bb3b3f4842933aa8c2876787b6c479229 Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Wed, 4 May 2016 13:47:27 +0200
-Subject: [PATCH] fix for environment 1.3.6
-
----
- tests/_files/Report/HTML/CoverageForBankAccount/BankAccount.php.html | 2 +-
- tests/_files/Report/HTML/CoverageForBankAccount/dashboard.html | 2 +-
- tests/_files/Report/HTML/CoverageForBankAccount/index.html | 2 +-
- .../Report/HTML/CoverageForClassWithAnonymousFunction/dashboard.html | 2 +-
- .../_files/Report/HTML/CoverageForClassWithAnonymousFunction/index.html | 2 +-
- .../source_with_class_and_anonymous_function.php.html | 2 +-
- tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/dashboard.html | 2 +-
- tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/index.html | 2 +-
- .../HTML/CoverageForFileWithIgnoredLines/source_with_ignore.php.html | 2 +-
- 9 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/tests/_files/Report/HTML/CoverageForBankAccount/BankAccount.php.html b/tests/_files/Report/HTML/CoverageForBankAccount/BankAccount.php.html
-index a5dcd4c..93ad3da 100644
---- a/tests/_files/Report/HTML/CoverageForBankAccount/BankAccount.php.html
-+++ b/tests/_files/Report/HTML/CoverageForBankAccount/BankAccount.php.html
-@@ -232,7 +232,7 @@
- <span class="warning"><strong>Dead Code</strong></span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
- </footer>
-diff --git a/tests/_files/Report/HTML/CoverageForBankAccount/dashboard.html b/tests/_files/Report/HTML/CoverageForBankAccount/dashboard.html
-index 651217a..45f7aae 100644
---- a/tests/_files/Report/HTML/CoverageForBankAccount/dashboard.html
-+++ b/tests/_files/Report/HTML/CoverageForBankAccount/dashboard.html
-@@ -140,7 +140,7 @@
- <footer>
- <hr/>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForBankAccount/index.html b/tests/_files/Report/HTML/CoverageForBankAccount/index.html
-index 5c99c2e..ae9e346 100644
---- a/tests/_files/Report/HTML/CoverageForBankAccount/index.html
-+++ b/tests/_files/Report/HTML/CoverageForBankAccount/index.html
-@@ -108,7 +108,7 @@
- <span class="success"><strong>High</strong>: 90% to 100%</span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/dashboard.html b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/dashboard.html
-index 229b167..9da9f55 100644
---- a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/dashboard.html
-+++ b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/dashboard.html
-@@ -138,7 +138,7 @@
- <footer>
- <hr/>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/index.html b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/index.html
-index ace676b..28007ce 100644
---- a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/index.html
-+++ b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/index.html
-@@ -108,7 +108,7 @@
- <span class="success"><strong>High</strong>: 90% to 100%</span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/source_with_class_and_anonymous_function.php.html b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/source_with_class_and_anonymous_function.php.html
-index ce90096..3892dce 100644
---- a/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/source_with_class_and_anonymous_function.php.html
-+++ b/tests/_files/Report/HTML/CoverageForClassWithAnonymousFunction/source_with_class_and_anonymous_function.php.html
-@@ -176,7 +176,7 @@
- <span class="warning"><strong>Dead Code</strong></span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
- </footer>
-diff --git a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/dashboard.html b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/dashboard.html
-index 54deaea..6347182 100644
---- a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/dashboard.html
-+++ b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/dashboard.html
-@@ -136,7 +136,7 @@
- <footer>
- <hr/>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/index.html b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/index.html
-index 2687444..77fe13e 100644
---- a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/index.html
-+++ b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/index.html
-@@ -108,7 +108,7 @@
- <span class="success"><strong>High</strong>: 90% to 100%</span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- </footer>
- </div>
-diff --git a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/source_with_ignore.php.html b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/source_with_ignore.php.html
-index 251b5c3..313d3be 100644
---- a/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/source_with_ignore.php.html
-+++ b/tests/_files/Report/HTML/CoverageForFileWithIgnoredLines/source_with_ignore.php.html
-@@ -244,7 +244,7 @@
- <span class="warning"><strong>Dead Code</strong></span>
- </p>
- <p>
-- <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
-+ <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http%sphp.net/" target="_top">%s</a> at %s.</small>
- </p>
- <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
- </footer>