From b4b133a818b418c964f3a5d1e4967f97d80792e7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Oct 2014 12:42:08 +0200 Subject: php-phpunit-diff fix license handling --- php-phpunit-diff.spec | 7 +++++-- 1 file 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 - 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 - 1.1.0-6 - composer dependencies -- cgit