summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-10-03 12:42:08 +0200
committerRemi Collet <fedora@famillecollet.com>2014-10-03 12:42:08 +0200
commitb4b133a818b418c964f3a5d1e4967f97d80792e7 (patch)
treeac2b16408548af9d78bab25982294b2292d985a1
parenta42dc4ff7d096d27e9f2fffd01c2100c6ea9f59b (diff)
php-phpunit-diff fix license handling
-rw-r--r--php-phpunit-diff.spec7
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