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
commit7fdb9f657a735c06f11f52542d7876a1649abb8d (patch)
tree443b4e1e9e864125fccfa3d3b18b52cce9f642af
parentefcbb2c3c54ff7d76cb0d86e1c0d543e38de3102 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-escaper.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-escaper.spec b/php-zendframework-zend-escaper.spec
index 800447e..429cbde 100644
--- a/php-zendframework-zend-escaper.spec
+++ b/php-zendframework-zend-escaper.spec
@@ -79,6 +79,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
@@ -134,8 +136,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}