From a9c6aee09c94055a07acda26b1badfd9082d7654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 13 Nov 2013 20:31:42 +0200 Subject: [PATCH] Fix htmldir when doc dir is unversioned (#993779). --- git.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/git.spec b/git.spec index e051bb8..6ec930c 100644 --- a/git.spec +++ b/git.spec @@ -51,7 +51,7 @@ Name: git Version: 1.8.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast Version Control System License: GPLv2 Group: Development/Tools @@ -341,7 +341,7 @@ DESTDIR = %{buildroot} INSTALL = install -p GITWEB_PROJECTROOT = %{_var}/lib/git GNU_ROFF = 1 -htmldir = %{_docdir}/%{name}-%{version} +htmldir = %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} prefix = %{_prefix} gitwebdir = %{_var}/www/git EOF @@ -641,6 +641,9 @@ rm -rf %{buildroot} # No files for you! %changelog +* Wed Nov 13 2013 Ville Skyttä - 1.8.4.2-2 +- Fix htmldir when doc dir is unversioned (#993779). + * Tue Oct 29 2013 Todd Zullinger - 1.8.4.2-1 - Update to 1.8.4.2 (#1024497)