From 44028eefd1068e2af80c1650bfebcb638e198c836dcc9d8c101fff0249e5a8dd Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 8 Jan 2014 07:41:08 +0000 Subject: [PATCH] Accepting request 213100 from home:tiwai:branches:M17N:fonts - don't install to /usr/share/groff/current but to the symlinked target directory OBS-URL: https://build.opensuse.org/request/show/213100 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/ghostscript-fonts-grops?expand=0&rev=3 --- ghostscript-fonts-grops.changes | 6 ++++++ ghostscript-fonts-grops.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ghostscript-fonts-grops.changes b/ghostscript-fonts-grops.changes index 064b58f..22d8c8d 100644 --- a/ghostscript-fonts-grops.changes +++ b/ghostscript-fonts-grops.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 8 08:22:49 CET 2014 - tiwai@suse.de + +- don't install to /usr/share/groff/current but to the symlinked + target directory + ------------------------------------------------------------------- Tue Jan 7 17:19:48 CET 2014 - tiwai@suse.de diff --git a/ghostscript-fonts-grops.spec b/ghostscript-fonts-grops.spec index 2c1a4bb..bdde3f8 100644 --- a/ghostscript-fonts-grops.spec +++ b/ghostscript-fonts-grops.spec @@ -63,7 +63,8 @@ echo "${fn}" "${pf}" done >>devps/download %install -target='%{buildroot}%{_datadir}/groff/current/font/gs' +groffver=$(readlink %{_datadir}/groff/current) +target="%{buildroot}%{_datadir}/groff/$groffver/font/gs" install -d "${target}" mv "-t${target}" devps