summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-09 07:33:52 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-09 07:33:52 +0100
commit208c4e4794b8ea998098637242f226c9a6129551 (patch)
tree4495cae6abc958bcbfe6c67d5a0d52262744a133
parent3f7c9389fd89a2e73ab7a569aecd9c7a2195e741 (diff)
php-pear-Text-Diff: fix doc
-rw-r--r--php-pear-Text-Diff.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/php-pear-Text-Diff.spec b/php-pear-Text-Diff.spec
index e1ec6f6..0a70f83 100644
--- a/php-pear-Text-Diff.spec
+++ b/php-pear-Text-Diff.spec
@@ -61,10 +61,6 @@ cd %{pear_name}-%{version}
rm -rf %{buildroot} docdir
%{__pear} install --nodeps --packagingroot %{buildroot} %{pear_name}.xml
-# Move documentation
-mkdir -p docdir
-mv %{buildroot}%{pear_docdir}/* docdir
-
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_metadir}/.??*
@@ -99,7 +95,7 @@ fi
%files
%defattr(-,root,root,-)
-%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
+%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{pear_name}.xml
%{pear_testdir}/%{pear_name}
%{pear_phpdir}/Text
@@ -109,6 +105,7 @@ fi
* Thu Mar 9 2017 Remi Collet <remi@remirepo.net> - 1.2.2-1
- Update to 1.2.2
- add composer virtual provides
+- keep documentation in pear directory
* Sat Sep 19 2015 Remi Collet <remi@fedoraproject.org> - 1.2.1-1
- Update to 1.2.1