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
This commit is contained in:
Takashi Iwai 2014-01-08 07:41:08 +00:00 committed by Git OBS Bridge
parent a46efcd874
commit e013354e58
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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