[tortoisehg] use %{_pkgdocdir} to get the new path to unversioned doc dir (#993947)

Mads Kiilerich kiilerix at fedoraproject.org
Wed Aug 7 21:59:03 UTC 2013


commit 970729401253c231209b0c931bd259370bb7fcc4
Author: Mads Kiilerich <mads at kiilerich.com>
Date:   Wed Aug 7 23:58:48 2013 +0200

    use %{_pkgdocdir} to get the new path to unversioned doc dir (#993947)

 tortoisehg.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tortoisehg.spec b/tortoisehg.spec
index b640002..729e748 100644
--- a/tortoisehg.spec
+++ b/tortoisehg.spec
@@ -2,7 +2,7 @@
 
 Name:           tortoisehg
 Version:        2.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Mercurial GUI command line tool thg
 Group:          Development/Tools
 License:        GPLv2
@@ -37,7 +37,7 @@ Note that the nautilus extension has been deprecated upstream.
 
 cat > tortoisehg/util/config.py << EOT
 bin_path     = "%{_bindir}"
-license_path = "%{_docdir}/%{name}-%{version}/COPYING.txt"
+license_path = "%{_pkgdocdir}/COPYING.txt"
 locale_path  = "%{_datadir}/locale"
 icon_path    = "%{_datadir}/pixmaps/tortoisehg/icons"
 nofork       = True
@@ -87,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/nautilus-python/extensions/nautilus-thg.py*
 
 %changelog
+* Wed Aug 07 2013 Mads Kiilerich <mads at kiilerich.com> - 2.9-2
+- use %{_pkgdocdir} to get the new path to unversioned doc dir (#993947)
+
 * Sun Aug 04 2013 Mads Kiilerich <mads at kiilerich.com> - 2.9-1
 - tortoisehg-2.9
 - rename desktop file to thg.desktop so it matches WM_CLASS


More information about the scm-commits mailing list