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
commit777dfb9009442fd69fcda26e3bb21a76b74c4470 (patch)
treee0443c9105bed4c3019d1e3dd20f704f7a7670e0
parentff782d39c7a919871fa14324000e98371d674b5f (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-permissions-acl.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-permissions-acl.spec b/php-zendframework-zend-permissions-acl.spec
index 007399d..ade604d 100644
--- a/php-zendframework-zend-permissions-acl.spec
+++ b/php-zendframework-zend-permissions-acl.spec
@@ -76,6 +76,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
@@ -120,8 +122,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
%dir %{php_home}/Zend/Permissions
%{php_home}/Zend/Permissions/%{library}