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
commit89248c0ba859e4927a078d74f4aed4df0b22f1cb (patch)
tree0a82a2e5305f2d5049f51e1c4c2cbfbff4d88585
parentcc0fe246804d1636c24ad0319868e2533a857fc1 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-i18n-resources.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-i18n-resources.spec b/php-zendframework-zend-i18n-resources.spec
index bb5af9d..5946084 100644
--- a/php-zendframework-zend-i18n-resources.spec
+++ b/php-zendframework-zend-i18n-resources.spec
@@ -61,6 +61,8 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.txt LICENSE
+
%build
# Empty build section, nothing required
@@ -106,8 +108,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
-%license LICENSE.txt
-%doc CONTRIBUTING.md README.md
+%license LICENSE
+%doc *.md
%doc composer.json
%dir %{php_home}/Zend/I18n
%{php_home}/Zend/I18n/%{library}