summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-phpcov.spec47
1 files changed, 35 insertions, 12 deletions
diff --git a/php-phpunit-phpcov.spec b/php-phpunit-phpcov.spec
index 2894413..47e2d2e 100644
--- a/php-phpunit-phpcov.spec
+++ b/php-phpunit-phpcov.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 5e32a1355826e5e2e0e99b4e2d0762867f4a8181
+%global gh_commit 85d3c38f0b455aa7097512b8f3256f796e9b4db6
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpcov
@@ -18,7 +18,7 @@
Name: php-phpunit-phpcov
-Version: 2.0.0
+Version: 2.0.1
Release: 1%{?dist}
Summary: TextUI front-end for PHP_CodeCoverage
@@ -38,26 +38,45 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.3.3
BuildRequires: %{_bindir}/phpab
%if %{with_tests}
-BuildRequires: php-phpunit-PHPUnit >= 4.0
-BuildRequires: php-phpunit-PHP-CodeCoverage >= 2.0
-BuildRequires: php-phpunit-diff >= 1.1
-BuildRequires: php-phpunit-FinderFacade >= 1.1
-BuildRequires: php-phpunit-Version >= 1.0.3
+BuildRequires: php-composer(phpunit/phpunit) >= 4.1
+BuildRequires: php-composer(phpunit/phpunit) < 5
+BuildRequires: php-composer(phpunit/php-code-coverage) >= 2.0
+BuildRequires: php-composer(phpunit/php-code-coverage) < 3
+BuildRequires: php-composer(sebastian/diff) >= 1.1
+BuildRequires: php-composer(sebastian/diff) < 2
+BuildRequires: php-composer(sebastian/finder-facade) >= 1.1
+BuildRequires: php-composer(sebastian/finder-facade) < 2
+BuildRequires: php-composer(sebastian/version) >= 1.0.3
+BuildRequires: php-composer(sebastian/version) < 1.1
BuildRequires: php-symfony-console >= 2.2
%endif
# from composer.json
+# "php": ">=5.3.3",
+# "phpunit/phpunit": "~4.1",
+# "phpunit/php-code-coverage": "~2.0",
+# "sebastian/diff": "~1.1",
+# "sebastian/finder-facade": "~1.1",
+# "sebastian/version": "~1.0.3",
+# "symfony/console": "~2.2"
Requires: php(language) >= 5.3.3
-Requires: php-phpunit-PHPUnit >= 4.0
-Requires: php-phpunit-PHP-CodeCoverage >= 2.0
-Requires: php-phpunit-diff >= 1.1
-Requires: php-phpunit-FinderFacade >= 1.1
-Requires: php-phpunit-Version >= 1.0.3
+Requires: php-composer(phpunit/phpunit) >= 4.1
+Requires: php-composer(phpunit/phpunit) < 5
+Requires: php-composer(phpunit/php-code-coverage) >= 2.0
+Requires: php-composer(phpunit/php-code-coverage) < 3
+Requires: php-composer(sebastian/diff) >= 1.1
+Requires: php-composer(sebastian/diff) < 2
+Requires: php-composer(sebastian/finder-facade) >= 1.1
+Requires: php-composer(sebastian/finder-facade) < 2
+Requires: php-composer(sebastian/version) >= 1.0.3
+Requires: php-composer(sebastian/version) < 1.1
Requires: php-symfony-console >= 2.2
# from phpcompatinfo report for version 1.1.0
Requires: php-reflection
Requires: php-spl
+Provides: php-composer(phpunit/phpcov) = %{version}
+
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
# Project name
Provides: phpcov = %{version}
@@ -116,6 +135,10 @@ fi
%changelog
+* Wed Jun 25 2014 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
+- update to 2.0.1
+- composer dependencies
+
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
- update to 2.0.0
- sources from github