[gajim] Fix path to docs where doc dir is unversioned (#993765).
Ville Skyttä
scop at fedoraproject.org
Fri Dec 6 20:17:11 UTC 2013
commit ffc939c87ae85d74118b3890a048bf83953da3b0
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Dec 6 22:17:08 2013 +0200
Fix path to docs where doc dir is unversioned (#993765).
gajim.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gajim.spec b/gajim.spec
index e61d001..192aba3 100644
--- a/gajim.spec
+++ b/gajim.spec
@@ -1,8 +1,10 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
Summary: Jabber client written in PyGTK
Name: gajim
%global majorver 0.15
Version: 0.15.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv3
Group: Applications/Internet
URL: http://gajim.org/
@@ -64,7 +66,7 @@ Gajim does not require GNOME to run, even though it exists with it nicely.
%patch1 -p1
%build
-%configure --docdir=%{_docdir}/%{name}-%{version}
+%configure --docdir=%{_pkgdocdir}
make %{?_smp_mflags}
@@ -116,6 +118,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/%{name}/src
%changelog
+* Fri Dec 6 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.15.3-5
+- Fix path to docs where doc dir is unversioned (#993765).
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list