summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-22 14:21:33 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-22 14:21:33 +0200
commit9c36d9793c991251c5e8ca4a96d3bc634850bcf4 (patch)
treeaa089442f021a87c31451bea9ea78aac4174108e
parentaa311115f9a9be5456896b9107265cd94276b06c (diff)
php-phpunit-PHPUnit-SkeletonGenerator: composer dep.
-rw-r--r--php-phpunit-PHPUnit-SkeletonGenerator.spec33
1 files changed, 23 insertions, 10 deletions
diff --git a/php-phpunit-PHPUnit-SkeletonGenerator.spec b/php-phpunit-PHPUnit-SkeletonGenerator.spec
index aad8faa..21e464c 100644
--- a/php-phpunit-PHPUnit-SkeletonGenerator.spec
+++ b/php-phpunit-PHPUnit-SkeletonGenerator.spec
@@ -17,7 +17,7 @@
Name: php-phpunit-PHPUnit-SkeletonGenerator
Version: 2.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tool that can generate skeleton test classes
Group: Development/Libraries
@@ -37,26 +37,36 @@ BuildRequires: php(language) >= 5.3.3
BuildRequires: %{_bindir}/phpab
%if %{with_tests}
BuildRequires: %{_bindir}/phpunit
-BuildRequires: php-phpunit-Text-Template >= 1.2
-BuildRequires: php-phpunit-Version >= 1.0
-BuildRequires: php-symfony-console >= 2.4
-BuildRequires: php-symfony-classloader >= 2.4
-BuildRequires: php-mikey179-vfsstream >= 1.2
+BuildRequires: php-composer(phpunit/php-text-template) >= 1.2
+BuildRequires: php-composer(sebastian/version) >= 1.0
+BuildRequires: php-composer(symfony/console) >= 2.4
+BuildRequires: php-composer(symfony/class-loader) >= 2.4
+BuildRequires: php-composer(mikey179/vfsStream) >= 1.2
%endif
# From composer.json
+# "php": ">=5.3.3",
+# "phpunit/php-text-template": "~1.2",
+# "sebastian/version": "~1.0",
+# "symfony/console": "~2.4"
Requires: php(language) >= 5.3.3
-Requires: php-phpunit-Text-Template >= 1.2
-Requires: php-phpunit-Version >= 1.0
-Requires: php-symfony-console >= 2.4
+Requires: php-composer(phpunit/php-text-template) >= 1.2
+Requires: php-composer(phpunit/php-text-template) < 2
+Requires: php-composer(sebastian/version) >= 1.0
+Requires: php-composer(sebastian/version) < 2
+Requires: php-composer(symfony/console) >= 2.4
+Requires: php-composer(symfony/console) < 3
# Need for our autoloader patch
-Requires: php-symfony-classloader >= 2.4
+Requires: php-composer(symfony/class-loader) >= 2.4
+Requires: php-composer(symfony/class-loader) < 3
# From phpcompatinfo report from 2.0.0
Requires: php-date
Requires: php-pcre
Requires: php-spl
Requires: php-tokenizer
+Provides: php-composer(phpunit/phpunit-skeleton-generator) = %{version}
+
%description
Tool that can generate skeleton test classes from production code classes
@@ -116,6 +126,9 @@ fi
%changelog
+* Tue Jul 22 2014 Remi Collet <remi@fedoraproject.org> - 2.0.1-2
+- composer dependencies
+
* Fri May 16 2014 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
- update to 2.0.1 (no change)