From 33f890930cd76cfac80b9c10675d82e7e772e825 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Jul 2014 10:50:05 +0200 Subject: php-phpunit-exporter: add composer dependencies --- php-phpunit-exporter.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'php-phpunit-exporter.spec') diff --git a/php-phpunit-exporter.spec b/php-phpunit-exporter.spec index 66b4f67..39b0026 100644 --- a/php-phpunit-exporter.spec +++ b/php-phpunit-exporter.spec @@ -18,7 +18,7 @@ Name: php-phpunit-exporter Version: 1.0.1 -Release: 2%{?dist}.1 +Release: 4%{?dist} Summary: Export PHP variables for visualization Group: Development/Libraries @@ -34,13 +34,16 @@ BuildRequires: %{_bindir}/phpab BuildRequires: %{_bindir}/phpunit %endif -# from package.xml +# from composer.json +# "php": ">=5.3.3" Requires: php(language) >= 5.3.3 # from phpcompatinfo report for version 1.0.0 Requires: php-hash Requires: php-pcre Requires: php-spl +Provides: php-composer(sebastian/exporter) = %{version} + # For compatibility, to drop when no more required # Currently used by phpcpd and phploc Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} @@ -90,13 +93,18 @@ fi %files %defattr(-,root,root,-) -%doc LICENSE README.md composer.json +%doc README.md composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE %dir %{php_home} %{php_home}/%{pear_name} %changelog +* Fri Jul 18 2014 Remi Collet - 1.0.1-4 +- add composer dependencies + * Wed Apr 30 2014 Remi Collet - 1.0.1-2 - cleanup pear registry -- cgit