summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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