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