summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-diactoros.spec
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
commitee413d201c1797a192f0f243c169d9c423ba0c39 (patch)
tree64d68480f6e6102b2131711775c7fa97e60f0148 /php-zendframework-zend-diactoros.spec
parent559329ef49a8359aa48fac37333ba4266d368839 (diff)
php-zendframework*: improve doc management
Diffstat (limited to 'php-zendframework-zend-diactoros.spec')
-rw-r--r--php-zendframework-zend-diactoros.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/php-zendframework-zend-diactoros.spec b/php-zendframework-zend-diactoros.spec
index 734a5af..75f6a36 100644
--- a/php-zendframework-zend-diactoros.spec
+++ b/php-zendframework-zend-diactoros.spec
@@ -97,6 +97,8 @@ Autoloader: %{phpdir}/Zend/Diactoros/autoload.php
%prep
%setup -qn %{github_name}-%{github_commit}
+mv LICENSE.md LICENSE
+
: Create autoloader
cat <<'AUTOLOAD' | tee src/autoload.php
<?php
@@ -168,10 +170,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
-%license LICENSE.md
-%doc CHANGELOG.md
-%doc CONTRIBUTING.md
-%doc README.md
+%license LICENSE
+%doc *.md
%doc composer.json
%dir %{phpdir}/Zend
%{phpdir}/Zend/Diactoros