[redet-doc] Fix Manual symlink when doc dir is unversioned (#993929).
Ville Skyttä
scop at fedoraproject.org
Sat Dec 7 17:22:33 UTC 2013
commit fc9bf7796a7abf655fd932de3e0da319856e2e0e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Dec 7 19:22:29 2013 +0200
Fix Manual symlink when doc dir is unversioned (#993929).
redet-doc.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/redet-doc.spec b/redet-doc.spec
index 8a6ff7f..c2abd6a 100644
--- a/redet-doc.spec
+++ b/redet-doc.spec
@@ -1,7 +1,7 @@
Summary: Documentation for the Redet tool
Name: redet-doc
Version: 8.25
-Release: 8
+Release: 9
License: GPLv3
Group: Documentation
URL: http://www.billposer.org/Software/redet.html
@@ -24,7 +24,7 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/Redet
pushd $RPM_BUILD_ROOT%{_datadir}/Redet
- ln -s ../doc/%{name}-%{version} Manual
+ ln -s %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} Manual
popd
%clean
@@ -39,6 +39,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/Redet/Manual
%changelog
+* Sat Dec 7 2013 Ville Skyttä <ville.skytta at iki.fi> - 8.25-9
+- Fix Manual symlink when doc dir is unversioned (#993929).
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8.25-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list