Add explanatory comment regarding absolute path as source in symbolic link
to avoid an issue with /usr/sbin/Check in SLE11, SLE_11_SP1, and SLE_11_SP2 to spec file and fixed spelling in the matching entry in changes file. OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=8
This commit is contained in:
parent
84952b0c81
commit
c2a9e6c8e8
@ -8,7 +8,7 @@ Thu Sep 27 13:22:44 CEST 2012 - jsmeix@suse.de
|
|||||||
Afterwards /usr/lib/rpm/brp-symlink converts it to a relative
|
Afterwards /usr/lib/rpm/brp-symlink converts it to a relative
|
||||||
path so that the binary RPM gets the intended symbolic link
|
path so that the binary RPM gets the intended symbolic link
|
||||||
/usr/share/fonts/ghostscript -> ../ghostscript/fonts
|
/usr/share/fonts/ghostscript -> ../ghostscript/fonts
|
||||||
as intended (bnc#778879).
|
(bnc#778879).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 26 10:09:22 CEST 2012 - jsmeix@suse.de
|
Wed Sep 26 10:09:22 CEST 2012 - jsmeix@suse.de
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ghostscript-fonts
|
Name: ghostscript-fonts
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Prepare spec file for dropping SuSEconfig.fonts
|
# Prepare spec file for dropping SuSEconfig.fonts
|
||||||
@ -156,6 +157,12 @@ popd
|
|||||||
# /usr/share/fonts/ where applications (including X11) search for fonts.
|
# /usr/share/fonts/ where applications (including X11) search for fonts.
|
||||||
# A usr/share/fonts/ sub-directory does not exist in the buildroot:
|
# A usr/share/fonts/ sub-directory does not exist in the buildroot:
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/fonts
|
install -d -m 755 %{buildroot}%{_datadir}/fonts
|
||||||
|
# Using an absolute path as source in symbolic link 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,
|
||||||
|
# see http://lists.opensuse.org/opensuse-packaging/2012-09/msg00239.html
|
||||||
|
# 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
|
||||||
ln -s %{_datadir}/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
|
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
||||||
|
Loading…
Reference in New Issue
Block a user