[php-phpunit-PHP-Invoker/epel7] add composer dep.

Remi Collet remi at fedoraproject.org
Fri Jul 18 10:05:50 UTC 2014


commit 03d6f183b5585bf7c397288aacdd91d956a03b84
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jul 18 12:06:11 2014 +0200

    add composer dep.

 php-phpunit-PHP-Invoker.spec |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/php-phpunit-PHP-Invoker.spec b/php-phpunit-PHP-Invoker.spec
index d2eb879..90310f0 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}
+Release:        6%{?dist}
 Summary:        Utility class for invoking callables with a timeout
 
 Group:          Development/Libraries
@@ -33,12 +33,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}
 
@@ -83,11 +88,17 @@ fi
 
 
 %files
-%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 at fedoraproject.org> - 1.1.3-6
+- add composer dependencies
+
 * Wed Apr 30 2014 Remi Collet <remi at fedoraproject.org> - 1.1.3-4
 - cleanup pear registry
 


More information about the scm-commits mailing list