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
commit6528fe9b01fee5218b83f1cb842ef8edd06b76c3 (patch)
tree26de0e4c30328d630ea994bbb4e56281cd404e54
parenta1d3ca76cc64b54e47530f5cdbd51e83bbff34a2 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-json-server.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-json-server.spec b/php-zendframework-zend-json-server.spec
index 8273cff..d46fc8b 100644
--- a/php-zendframework-zend-json-server.spec
+++ b/php-zendframework-zend-json-server.spec
@@ -80,6 +80,8 @@ Provides a JSON-RPC server implementation.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.md LICENSE
+
%build
# Empty build section, nothing required
@@ -136,8 +138,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/Json/%{library}