summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-04 08:37:42 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-04 08:37:42 +0200
commitbf3ea41e38dc42c8c5afea428a6332360e633b86 (patch)
tree7c4a05d031160903c024e7fdea6f34e69fd04197
parentc88d400d32ebc4ae69220b0f67f33db02de20d0e (diff)
php-pear: fix license handling
-rw-r--r--php-pear.spec4
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