Accepting request 136231 from home:jsmeix:branches:Printing

avoid an issue with /usr/sbin/Check in SLE11 SLE_11_SP1 SLE_11_SP2 to make it build again there

OBS-URL: https://build.opensuse.org/request/show/136231
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=7
This commit is contained in:
Johannes Meixner 2012-09-27 12:53:40 +00:00 committed by Git OBS Bridge
parent 1670f10fc3
commit 84952b0c81
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Sep 27 13:22:44 CEST 2012 - jsmeix@suse.de
- Using an absolute path as source in symbolic link in spec file
to avoid an issue with /usr/sbin/Check in SLE11, SLE_11_SP1,
and SLE_11_SP2 that would wrongly convert a relative path
../ghostscript/fonts into a ../ghostscript/fonts.gz file.
Afterwards /usr/lib/rpm/brp-symlink converts it to a relative
path so that the binary RPM gets the intended symbolic link
/usr/share/fonts/ghostscript -> ../ghostscript/fonts
as intended (bnc#778879).
-------------------------------------------------------------------
Wed Sep 26 10:09:22 CEST 2012 - jsmeix@suse.de

View File

@ -156,7 +156,7 @@ popd
# /usr/share/fonts/ where applications (including X11) search for fonts.
# A usr/share/fonts/ sub-directory does not exist in the buildroot:
install -d -m 755 %{buildroot}%{_datadir}/fonts
ln -s ../ghostscript/fonts %{buildroot}%{_datadir}/fonts/ghostscript
ln -s %{_datadir}/ghostscript/fonts %{buildroot}%{_datadir}/fonts/ghostscript
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets