diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-07-18 10:53:05 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-07-18 10:53:05 +0200 |
commit | 03422e4fba690acda2f35a17b88794cd2262ba9b (patch) | |
tree | 736727a1a1dfd30d64e7bb2ddb05fe7fb3d05b91 /php-phpunit-comparator.spec | |
parent | 9da3d64412bf67f9f7b49a7ca45b104c24ff1355 (diff) |
php-phpunit-comparator: add composer dependencies
Diffstat (limited to 'php-phpunit-comparator.spec')
-rw-r--r-- | php-phpunit-comparator.spec | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/php-phpunit-comparator.spec b/php-phpunit-comparator.spec index 8b74748..7461b5c 100644 --- a/php-phpunit-comparator.spec +++ b/php-phpunit-comparator.spec @@ -16,7 +16,7 @@ Name: php-phpunit-comparator Version: 1.0.0 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Compare PHP values for equality Group: Development/Libraries @@ -33,14 +33,21 @@ BuildRequires: %{_bindir}/phpunit %endif # from composer.json +# "php": ">=5.3.3", +# "sebastian/diff": "~1.1", +# "sebastian/exporter": "~1.0" Requires: php(language) >= 5.3.3 -Requires: php-phpunit-diff >= 1.1 -Requires: php-phpunit-exporter >= 1.0 +Requires: php-composer(sebastian/diff) >= 1.1 +Requires: php-composer(sebastian/diff) < 2 +Requires: php-composer(sebastian/exporter) >= 1.0 +Requires: php-composer(sebastian/exporter) < 2 # from phpcompatinfo report for version 1.0.0 Requires: php-date Requires: php-dom Requires: php-spl +Provides: php-composer(sebastian/comparator) = %{version} + %description This component provides the functionality to compare PHP values for equality. @@ -53,7 +60,6 @@ This component provides the functionality to compare PHP values for equality. %build # Generate the Autoloader phpab --output src/autoload.php src -cat src/autoload.php %install @@ -77,11 +83,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc LICENSE README.md composer.json +%doc README.md composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE %{php_home}/Comparator %changelog +* Fri Jul 18 2014 Remi Collet <remi@fedoraproject.org> - 1.0.0-2 +- add composer dependencies + * Sat May 3 2014 Remi Collet <remi@fedoraproject.org> - 1.0.0-1 - initial package
\ No newline at end of file |