summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-18 10:45:31 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-18 10:45:31 +0200
commit0482b4cdd61d9195e90b00316cfecb1b4ab3eae8 (patch)
treef875bbbbaf0063b1fc64384b9af9aac9c40fc2b7
parentbc6b1ae4cfab0854667d342079eb4b29053b8e82 (diff)
php-phpunit-PHP-Timer: add composer dependencies
-rw-r--r--php-phpunit-PHP-Timer.spec11
1 files 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 <remi@fedoraproject.org> - 1.0.5-5
+- add composer dependencies
+
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.0.5-3
- cleanup pear registry