From b547a159b82f325689e769cf3535384dcf553748 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Oct 2013 05:51:45 +0200 Subject: php-pecl-xhprof: rawhide fix for doc path --- php-pecl-xhprof.spec | 11 +++++++++-- 1 file 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 - 0.9.4-1 - update to 0.9.4 +* Tue Aug 6 2013 Remi Collet - 0.9.3-3 +- fix doc path in package description #994038 + * Mon May 20 2013 Remi Collet - 0.9.3-1 - update to 0.9.3 -- cgit