summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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