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

Remi Collet remi at fedoraproject.org
Fri Jul 18 09:10:37 UTC 2014


commit 2088c82c863fe413458804b6735119aa72c9cbc5
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jul 18 11:10:57 2014 +0200

    add composer dep.

 php-phpunit-PHP-Timer.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/php-phpunit-PHP-Timer.spec b/php-phpunit-PHP-Timer.spec
index d3185fc..0b4e43e 100644
--- a/php-phpunit-PHP-Timer.spec
+++ b/php-phpunit-PHP-Timer.spec
@@ -10,7 +10,7 @@
 
 Name:           php-phpunit-PHP-Timer
 Version:        1.0.5
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        PHP Utility class for timing
 
 Group:          Development/Libraries
@@ -25,10 +25,12 @@ BuildRequires:  %{_bindir}/phpunit
 %endif
 
 # From composer.json
+#        "php": ">=5.3.3"
 Requires:       php(language) >= 5.3.3
 # From phpcompatinfo report for version 1.0.5
 Requires:       php-spl
 
+Provides:       php-composer(phpunit/php-timer) = %{version}
 # For compatibility with PEAR mode
 Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 
@@ -74,11 +76,16 @@ fi
 
 
 %files
-%doc LICENSE README.md composer.json
+%doc README.md composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %{php_home}
 
 
 %changelog
+* Fri Jul 18 2014 Remi Collet <remi at fedoraproject.org> - 1.0.5-5
+- add composer dependencies
+
 * Wed Apr 30 2014 Remi Collet <remi at fedoraproject.org> - 1.0.5-3
 - cleanup pear registry
 


More information about the scm-commits mailing list