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
commit37366a6fc26c1246d5011664d60bd4960f8fb739 (patch)
treeb0d3e1dd89b574ce2050cc5e1c6c07975a307532
parent3226c76e9d4d59a873fae0cd4b3b9788e2595560 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-text.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-text.spec b/php-zendframework-zend-text.spec
index 8ddb8e8..91077ef 100644
--- a/php-zendframework-zend-text.spec
+++ b/php-zendframework-zend-text.spec
@@ -92,6 +92,8 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.md LICENSE
+
%build
# Empty build section, nothing required
@@ -131,8 +133,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}