[php-pecl-xhprof] fix doc path in package description #994038
Remi Collet
remi at fedoraproject.org
Tue Aug 6 14:21:44 UTC 2013
commit 24fcf3a6c39b7a9fa94d0b2b06dba2f8522c8d25
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Aug 6 16:21:33 2013 +0200
fix doc path in package description #994038
php-pecl-xhprof.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-xhprof.spec b/php-pecl-xhprof.spec
index 1847ca1..a71fc27 100644
--- a/php-pecl-xhprof.spec
+++ b/php-pecl-xhprof.spec
@@ -4,7 +4,7 @@
Name: php-pecl-xhprof
Version: 0.9.3
-Release: 2%{?gitver:.git%{gitver}}%{?dist}
+Release: 3%{?gitver:.git%{gitver}}%{?dist}
Summary: PHP extension for XHProf, a Hierarchical Profiler
Group: Development/Languages
@@ -65,7 +65,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
@@ -185,12 +189,15 @@ fi
%files -n xhprof
-%doc docs
+%doc docs/*
%config(noreplace) %{_sysconfdir}/httpd/conf.d/xhprof.conf
%{_datadir}/xhprof
%changelog
+* Tue Aug 6 2013 Remi Collet <remi at fedoraproject.org> - 0.9.3-3
+- fix doc path in package description #994038
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list