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
commitce1d5bc1631aa02482890144ddf58684edf70b74 (patch)
treeaa30e090389603efec114a4b245a1bb36cfbec64
parentd500f21f6a8c8426c455336091dcf6d48ae72e70 (diff)
php-zendframework*: improve doc management
-rw-r--r--php-zendframework-zendpdf.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/php-zendframework-zendpdf.spec b/php-zendframework-zendpdf.spec
index e49b28e..561ba08 100644
--- a/php-zendframework-zendpdf.spec
+++ b/php-zendframework-zendpdf.spec
@@ -73,6 +73,8 @@ Provides: php-composer(%{gh_owner}/%{gh_project}) = %{version}
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+mv LICENSE.txt LICENSE
+
%build
# Empty build section, nothing required
@@ -114,12 +116,12 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
-%license LICENSE.txt
-%doc README.md
+%license LICENSE
+%doc *.md
%doc composer.json
%{php_home}/%{library}
%changelog
* Thu Aug 6 2015 Remi Collet <remi@fedoraproject.org> - 2.0.2-1
-- initial package \ No newline at end of file
+- initial package