summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-05 17:06:31 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-05 17:06:31 +0200
commitbc0ce0556aba824a94cebf754ea995bda54e4d66 (patch)
tree9fbf44ac1808f490e24c0fafd322bf12cea37777
parent5af2df5940e41744cd493402b8cd31f05edd4c47 (diff)
php-phpunit-DbUnit: fix license handling
-rw-r--r--php-phpunit-DbUnit.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index 5aa34a4..ce9eaf3 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -113,7 +113,9 @@ fi
%files
%defattr(-,root,root,-)
-%doc ChangeLog.markdown LICENSE composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc ChangeLog.markdown composer.json
%doc Samples
%{_bindir}/dbunit
%{php_home}/PHPUnit/Extensions/Database