summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-18 10:50:05 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-18 10:50:05 +0200
commit33f890930cd76cfac80b9c10675d82e7e772e825 (patch)
tree04f910337a95cdfad940e6b8dcb094b79f61fbd7
parent6d4425f222d2cd74e2386361df8c87750c7d439b (diff)
php-phpunit-exporter: add composer dependencies
-rw-r--r--php-phpunit-exporter.spec14
1 files changed, 11 insertions, 3 deletions
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 <remi@fedoraproject.org> - 1.0.1-4
+- add composer dependencies
+
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.0.1-2
- cleanup pear registry