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
commitcfc75b1ce4a7970d2f84baf589ca25d8a020582a (patch)
treeaf221bf8f6bcaa2548990af81c4a2a5455a3bc2e
parent5e5dd55575076507a9caa3986091e32465d32f54 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-servicemanager.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-servicemanager.spec b/php-zendframework-zend-servicemanager.spec
index 9265912..634dd17 100644
--- a/php-zendframework-zend-servicemanager.spec
+++ b/php-zendframework-zend-servicemanager.spec
@@ -88,6 +88,8 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.md LICENSE
+
: Create dependency autoloader
cat << 'EOF' | tee autoload.php
<?php
@@ -156,8 +158,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}
%{php_home}/Zend/%{library}-autoload.php