diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-09-04 08:37:42 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-09-04 08:37:42 +0200 |
commit | bf3ea41e38dc42c8c5afea428a6332360e633b86 (patch) | |
tree | 7c4a05d031160903c024e7fdea6f34e69fd04197 | |
parent | c88d400d32ebc4ae69220b0f67f33db02de20d0e (diff) |
php-pear: fix license handling
-rw-r--r-- | php-pear.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/php-pear.spec b/php-pear.spec index a692547..7a792a9 100644 --- a/php-pear.spec +++ b/php-pear.spec @@ -338,7 +338,9 @@ fi %dir %{_localstatedir}/www/html %endif %dir %{_sysconfdir}/pear -%doc README* LICENSE* +%{!?_licensedir:%global license %%doc} +%license LICENSE* +%doc README* %dir %{_docdir}/pear %doc %{_docdir}/pear/* %dir %{_docdir}/pecl |