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
commita8c9b0c420d24e22218c4c6a347e544b940f1cdc (patch)
tree379c130e35bd28281c32b1d537010c108c915784
parent74d4d662f4e196d7034d6f4b567ba57f207c265f (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-serializer.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-serializer.spec b/php-zendframework-zend-serializer.spec
index 041aa1d..b33bf6b 100644
--- a/php-zendframework-zend-serializer.spec
+++ b/php-zendframework-zend-serializer.spec
@@ -97,6 +97,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
@@ -141,8 +143,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}