summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-18 10:56:19 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-18 10:56:19 +0200
commitfa2c062949626e324338ab8ce5ecf9d813c76d9f (patch)
tree80ac939547f44afba5f23a9dba40379af4831745
parentcd8df1837c9687abc74ebc22a77de430354eea7e (diff)
php-phpunit-PHP-Invoker: add composer dependencies
-rw-r--r--php-phpunit-PHP-Invoker.spec17
1 files 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 <remi@fedoraproject.org> - 1.1.3-6
+- add composer dependencies
+
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.1.3-4
- cleanup pear registry