summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-01 08:29:04 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-01 08:29:04 +0200
commit88e8fcaa1ee24a47ab0eb7e9bab275d0dd8e6849 (patch)
treea35e1f7d854534fbeea844490bf33a766e83a075
parentea5d4a7baf15868dc3f69c9e86b78b5f0871c4a2 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-di.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-di.spec b/php-zendframework-zend-di.spec
index 2b553ce..aad16f4 100644
--- a/php-zendframework-zend-di.spec
+++ b/php-zendframework-zend-di.spec
@@ -90,6 +90,8 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.md LICENSE
+
%build
# Empty build section, nothing required
@@ -134,8 +136,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
-%license LICENSE.md
-%doc CONTRIBUTING.md README.md
+%license LICENSE
+%doc *.md
%doc composer.json
%{php_home}/Zend/%{library}