public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.3: Fix symlinks to doc and example dirs when doc dir is unversioned (#993800).
@ 2026-10-17 16:20
0 siblings, 0 replies; only message in thread
From: @ 2026-10-17 16:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grace
Branch : epel10.3
Commit : 375f808454b442624acd6645b2fedf967aea85e8
Author : Ville Skyttä <ville.skytta@iki.fi>
Date : 2013-11-16T22:21:49+02:00
Stats : +6/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/grace/c/375f808454b442624acd6645b2fedf967aea85e8?branch=epel10.3
Log:
Fix symlinks to doc and example dirs when doc dir is unversioned (#993800).
---
diff --git a/grace.spec b/grace.spec
index aa33055..6bd91f9 100644
--- a/grace.spec
+++ b/grace.spec
@@ -3,7 +3,7 @@
Name: grace
Version: 5.1.23
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Numerical Data Processing and Visualization Tool
License: GPLv2+
@@ -153,10 +153,8 @@ sed -i '/^$/d' $FontDataBaseFile
install -pm 644 doc/*.1 %{buildroot}%{_mandir}/man1/
# doc and example directories are removed from GRACE_HOME and put in %doc
-rm -rf doc
-ln -s ../doc/%{name}-%{version}/doc doc
-rm -rf examples
-ln -s ../doc/%{name}-%{version}/examples examples
+rm -rf doc examples
+ln -s %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/{doc,examples} .
# the convcal source file shouldn't be installed, it is removed here
rm -f auxiliary/convcal.c
@@ -224,6 +222,9 @@ fi
%changelog
+* Sat Nov 16 2013 Ville Skyttä <ville.skytta@iki.fi> - 5.1.23-6
+- Fix symlinks to doc and example dirs when doc dir is unversioned (#993800).
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.23-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-17 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:20 [rpms/grace] epel10.3: Fix symlinks to doc and example dirs when doc dir is unversioned (#993800)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox