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
commit6437337c73ee624582d0f41b58971ae41feef98f (patch)
tree0a7f32c2578e7118474556877af3dc3e360e8e23
parent361e7cf5dfd4be968b9b5399d51e9d868171ccf8 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-crypt.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-crypt.spec b/php-zendframework-zend-crypt.spec
index 8a656e1..d1e8026 100644
--- a/php-zendframework-zend-crypt.spec
+++ b/php-zendframework-zend-crypt.spec
@@ -109,6 +109,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
@@ -174,8 +176,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