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
commit07d4825df5455f80788fa60bcdf3e3e727996f15 (patch)
tree788d4506dae308009186d40a5ac5192a017d35a8
parent0d1a74b470fae9291abe18e81fe43baed4abc7a9 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-servicemanager-di.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-servicemanager-di.spec b/php-zendframework-zend-servicemanager-di.spec
index db92c3e..c8b1628 100644
--- a/php-zendframework-zend-servicemanager-di.spec
+++ b/php-zendframework-zend-servicemanager-di.spec
@@ -81,6 +81,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
@@ -146,8 +148,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/ServiceManager/%{library}
%{php_home}/Zend/ServiceManager-%{library}-autoload.php