From 0482b4cdd61d9195e90b00316cfecb1b4ab3eae8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Jul 2014 10:45:31 +0200 Subject: php-phpunit-PHP-Timer: add composer dependencies --- php-phpunit-PHP-Timer.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-phpunit-PHP-Timer.spec b/php-phpunit-PHP-Timer.spec index d327ca3..57f38f7 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}.1 +Release: 5%{?dist} Summary: PHP Utility class for timing Group: Development/Libraries @@ -26,10 +26,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} @@ -81,11 +83,16 @@ fi %files %defattr(-,root,root,-) -%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 - 1.0.5-5 +- add composer dependencies + * Wed Apr 30 2014 Remi Collet - 1.0.5-3 - cleanup pear registry -- cgit