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
commitac7a42bfda696e4a46ad061fd28efa3779a46b80 (patch)
tree06658fd7ccaedc7c3f2b6940113b3b7f51640f75
parent124248f2a3c5def06272c5a996bf5f2aeced0d02 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-permissions-rbac.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-permissions-rbac.spec b/php-zendframework-zend-permissions-rbac.spec
index f1f989f..9bf2d8d 100644
--- a/php-zendframework-zend-permissions-rbac.spec
+++ b/php-zendframework-zend-permissions-rbac.spec
@@ -66,6 +66,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
@@ -110,8 +112,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}