summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-10-01 05:51:45 +0200
committerRemi Collet <fedora@famillecollet.com>2013-10-01 05:51:45 +0200
commitb547a159b82f325689e769cf3535384dcf553748 (patch)
tree59a6dbc6a6d3b57fdfd1f4461dbff55948cd0c7f
parent24b83559196fe0101c9065a980e61b3a8912c1be (diff)
php-pecl-xhprof: rawhide fix for doc path
-rw-r--r--php-pecl-xhprof.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-xhprof.spec b/php-pecl-xhprof.spec
index fcade19..b745e67 100644
--- a/php-pecl-xhprof.spec
+++ b/php-pecl-xhprof.spec
@@ -84,7 +84,11 @@ for each function.
Additionally, it supports ability to compare two runs (hierarchical DIFF
reports), or aggregate results from multiple runs.
-Documentation : %{_datadir}/doc/%{name}-%{version}/docs/index.html
+%if "%{?_pkgdocdir}" == "%{_docdir}/%{name}"
+Documentation : %{_docdir}/xhprof/index.html
+%else
+Documentation : %{_docdir}/xhprof-%{version}/index.html
+%endif
%prep
@@ -207,7 +211,7 @@ fi
%files -n xhprof
%defattr(-,root,root,-)
-%doc docs
+%doc docs/*
%config(noreplace) %{_sysconfdir}/httpd/conf.d/xhprof.conf
%{_datadir}/xhprof
@@ -216,6 +220,9 @@ fi
* Tue Oct 1 2013 Remi Collet <remi@fedoraproject.org> - 0.9.4-1
- update to 0.9.4
+* Tue Aug 6 2013 Remi Collet <remi@fedoraproject.org> - 0.9.3-3
+- fix doc path in package description #994038
+
* Mon May 20 2013 Remi Collet <remi@fedoraproject.org> - 0.9.3-1
- update to 0.9.3