From fa2c062949626e324338ab8ce5ecf9d813c76d9f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Jul 2014 10:56:19 +0200 Subject: php-phpunit-PHP-Invoker: add composer dependencies --- php-phpunit-PHP-Invoker.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/php-phpunit-PHP-Invoker.spec b/php-phpunit-PHP-Invoker.spec index a6ae9a2..8e9d200 100644 --- a/php-phpunit-PHP-Invoker.spec +++ b/php-phpunit-PHP-Invoker.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHP-Invoker Version: 1.1.3 -Release: 4%{?dist}.1 +Release: 6%{?dist} Summary: Utility class for invoking callables with a timeout Group: Development/Libraries @@ -34,12 +34,17 @@ BuildRequires: %{_bindir}/phpunit %endif # From composer.json +# "php": ">=5.2.7", +# "phpunit/php-timer": ">=1.0.4", +# "ext-pcntl": "*" Requires: php(language) >= 5.2.7 -Requires: php-phpunit-PHP-Timer >= 1.0.4 +Requires: php-composer(phpunit/php-timer) >= 1.0.4 Requires: php-pcntl # From phpcompatinfo report for version 1.0.5 Requires: php-spl +Provides: php-composer(phpunit/php-invoker) = %{version} + # For compatibility with PEAR mode Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} @@ -89,11 +94,17 @@ fi %files %defattr(-,root,root,-) -%doc LICENSE README.markdown ChangeLog.markdown composer.json +%doc README.markdown ChangeLog.markdown composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE + %{php_home}/* %changelog +* Fri Jul 18 2014 Remi Collet - 1.1.3-6 +- add composer dependencies + * Wed Apr 30 2014 Remi Collet - 1.1.3-4 - cleanup pear registry -- cgit