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

Remi Collet remi at fedoraproject.org
Fri Jul 18 10:04:01 UTC 2014


commit 5f88837234af4c2d8b846894f51bd74712185e04
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jul 18 12:04:23 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 589db4d..b0c0f0f 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:        5%{?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
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.3-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list