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
commit9a10ef94727b7ece7374b48c26d0fc25d66ef38b (patch)
tree15de52d9faa52ccdf106bfb91ef42de66632f639
parent30a6f3992cca7a367ef0741873a086071b81ef61 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-file.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-file.spec b/php-zendframework-zend-file.spec
index 4aa4f2d..cc73448 100644
--- a/php-zendframework-zend-file.spec
+++ b/php-zendframework-zend-file.spec
@@ -100,6 +100,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
@@ -145,8 +147,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}