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
commit99b5c16c0909b67aa62de20c3188ffca85777f99 (patch)
tree80bf0bbf1ec8d56f7fbe36134be387e7250a5a7f
parentc29c3fb20f587937856d46baf8f6ac1f92255fc2 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-mvc.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-mvc.spec b/php-zendframework-zend-mvc.spec
index 0f9e7c7..700ccc0 100644
--- a/php-zendframework-zend-mvc.spec
+++ b/php-zendframework-zend-mvc.spec
@@ -146,6 +146,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
@@ -212,8 +214,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
-%license LICENSE.md
-%doc CHANGELOG.md CONDUCT.md CONTRIBUTING.md README.md
+%license LICENSE
+%doc *.md
%doc composer.json
%{php_home}/Zend/%{library}
%{php_home}/Zend/%{library}-autoload.php