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
commita68cfbc5a2ea9590e078f5f09ac42805dfb3ee51 (patch)
tree195219cdec9bdb19d4ff8a7e05e05c64eb1c10e6
parentdf9170cea311eaf41afbec9891f87a8c621ca694 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-stratigility.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-stratigility.spec b/php-zendframework-zend-stratigility.spec
index d8f46a8..030ac89 100644
--- a/php-zendframework-zend-stratigility.spec
+++ b/php-zendframework-zend-stratigility.spec
@@ -93,6 +93,8 @@ It allows you to create and dispatch middleware pipelines.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.md LICENSE
+
: Create dependency autoloader
cat << 'EOF' | tee autoload.php
<?php
@@ -158,8 +160,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