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
commit9d3427d1e1f72128b3f6f5d73f65ba3bfb0839b4 (patch)
treeb603d2993af0903670ad08f19deeec901c698a04
parent1527e011919e15dc219acb4eb4a2f2759b18df19 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-code.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-code.spec b/php-zendframework-zend-code.spec
index 8d57872..ba76334 100644
--- a/php-zendframework-zend-code.spec
+++ b/php-zendframework-zend-code.spec
@@ -94,6 +94,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
@@ -149,8 +151,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}