diff --git a/ghostscript-fonts.changes b/ghostscript-fonts.changes index 3bf52d9..809460e 100644 --- a/ghostscript-fonts.changes +++ b/ghostscript-fonts.changes @@ -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 diff --git a/ghostscript-fonts.spec b/ghostscript-fonts.spec index 872f8a3..3f3cd4c 100644 --- a/ghostscript-fonts.spec +++ b/ghostscript-fonts.spec @@ -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