summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/