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
commit1ced6d6ff5db59b233d469eb0e1fd768b01bb625 (patch)
treea08db9d96c03e10ef9f1d605a748540018ae9ac3
parentbbf7bb83a5f59d5d69fa3ffe1ca2406190ee9d18 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zend-barcode.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-zendframework-zend-barcode.spec b/php-zendframework-zend-barcode.spec
index 4b43414..8fcf78d 100644
--- a/php-zendframework-zend-barcode.spec
+++ b/php-zendframework-zend-barcode.spec
@@ -98,6 +98,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
@@ -142,8 +144,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}