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
commitb5c4a4edfc03b9e2c60596404e29e455bea8d53a (patch)
tree552f2707f0f1636ed5a6ae03aec2da057e27129f
parent42406853c924f8b100078f7c93701aee8beb363f (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-dom.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-dom.spec b/php-zendframework-zend-dom.spec
index ec4ad22..e533ec7 100644
--- a/php-zendframework-zend-dom.spec
+++ b/php-zendframework-zend-dom.spec
@@ -74,6 +74,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
@@ -118,8 +120,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}