From 84952b0c819cd5f529466b90664d245708052381860850af8d10beec49079044 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Thu, 27 Sep 2012 12:53:40 +0000 Subject: [PATCH] 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 --- ghostscript-fonts.changes | 12 ++++++++++++ ghostscript-fonts.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) 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