[mantis] Honor %{_pkgdocdir} where available.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 20:10:00 UTC 2013


commit 61e72886fd2b0d122d19128cd680c4f2114d23a4
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 23:09:40 2013 +0300

    Honor %{_pkgdocdir} where available.

 mantis.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mantis.spec b/mantis.spec
index ec94fbc..b59e6de 100644
--- a/mantis.spec
+++ b/mantis.spec
@@ -1,12 +1,12 @@
 %global pkgdir        %{_datadir}/%{name}
 %global cfgdir        %{_sysconfdir}/%{name}
-%global docdir        %{_docdir}/%{name}-%{version}
+%global docdir        %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 %global httpconfdir   %{_sysconfdir}/httpd/conf.d
 
 Summary:    Web-based issue tracking system
 Name:       mantis
 Version:    1.2.15
-Release:    1%{?dist}
+Release:    2%{?dist}
 License:    GPLv2+
 Group:      Applications/Internet
 URL:        http://www.mantisbt.org/
@@ -152,6 +152,9 @@ rm -rf "${RPM_BUILD_ROOT}"
 
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.2.15-2
+- Honor %%{_pkgdocdir} where available.
+
 * Tue Apr 16 2013 Gianluca Sforna <giallu at gmail.com> - 1.2.15-1
 - new upstream release
 - fix CVE-2013-1930 (#948971)


More information about the scm-commits mailing list