From bc0ce0556aba824a94cebf754ea995bda54e4d66 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Jun 2015 17:06:31 +0200 Subject: php-phpunit-DbUnit: fix license handling --- php-phpunit-DbUnit.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit