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