public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.3: Fix symlinks to doc and example dirs when doc dir is unversioned (#993800).
Date: Sat, 17 Oct 2026 16:20:31 GMT	[thread overview]
Message-ID: <179225403115.1.14891704578686059617.rpms-grace-375f808454b4@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-17 16:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179225403115.1.14891704578686059617.rpms-grace-375f808454b4@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox