summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-21 15:44:02 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-21 15:44:02 +0200
commitbb2658769229efb1d4fefd47cd157033d38037d9 (patch)
treebfaa057430ecffd558f1486f512229c18e2dc78f
parentfce0ebf61fed3882ce4ce76f85c6810bbf1cd817 (diff)
php-ocramius-lazy-map: handle %license
-rw-r--r--php-ocramius-lazy-map.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-ocramius-lazy-map.spec b/php-ocramius-lazy-map.spec
index 315f2b8..10d5184 100644
--- a/php-ocramius-lazy-map.spec
+++ b/php-ocramius-lazy-map.spec
@@ -77,7 +77,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
%doc *.md
%{_datadir}/php/LazyMap/