diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-10-03 12:42:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-10-03 12:42:08 +0200 |
commit | b4b133a818b418c964f3a5d1e4967f97d80792e7 (patch) | |
tree | ac2b16408548af9d78bab25982294b2292d985a1 | |
parent | a42dc4ff7d096d27e9f2fffd01c2100c6ea9f59b (diff) |
php-phpunit-diff fix license handling
-rw-r--r-- | php-phpunit-diff.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/php-phpunit-diff.spec b/php-phpunit-diff.spec index 8fa0025..021f915 100644 --- a/php-phpunit-diff.spec +++ b/php-phpunit-diff.spec @@ -90,20 +90,23 @@ if [ -x %{_bindir}/pear ]; then %{pear_channel}/%{pear_name} >/dev/null || : fi + %files %defattr(-,root,root,-) -%doc LICENSE README.md composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README.md composer.json %dir %{php_home} %{php_home}/%{pear_name} - %changelog * Fri Oct 3 2014 Remi Collet <remi@fedoraproject.org> - 1.2.0-1 - update to 1.2.0 - run test suite during build - generate autoload.php for compatibility +- fix license handling * Wed Jun 25 2014 Remi Collet <remi@fedoraproject.org> - 1.1.0-6 - composer dependencies |