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
commite3c0be2713d66764ecafadee02d42d7767ff0a83 (patch)
tree65d6fc718f73e40cd790b1ef5a07b2d955ed78b9
parent0781d30348b72dda31b73db309bb0c5a733ae32a (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-json.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-json.spec b/php-zendframework-zend-json.spec
index 35a5502..7a50689 100644
--- a/php-zendframework-zend-json.spec
+++ b/php-zendframework-zend-json.spec
@@ -84,6 +84,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
@@ -139,8 +141,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}