Accepting request 558096 from Printing
Call reconfigure_fonts_* -n binary_RPM_package_name (boo#1067213) (forwarded request 558095 from jsmeix) OBS-URL: https://build.opensuse.org/request/show/558096 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=9
This commit is contained in:
commit
7c150ddee1
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 18 14:18:10 CET 2017 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Call reconfigure_fonts_* -n binary_RPM_package_name
|
||||||
|
on openSUSE Tumbleweed and Leap 15.0 and SLE15 and later
|
||||||
|
(boo#1067213).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 4 12:24:39 CEST 2017 - jsmeix@suse.de
|
Wed Oct 4 12:24:39 CEST 2017 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -142,10 +142,15 @@ 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_post.
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_post.
|
||||||
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220):
|
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220).
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%post std
|
%post std
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_post -n ghostscript-fonts-std
|
||||||
|
%else
|
||||||
%reconfigure_fonts_post
|
%reconfigure_fonts_post
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
then %run_suseconfig -m fonts
|
then %run_suseconfig -m fonts
|
||||||
@ -161,10 +166,15 @@ exit 0
|
|||||||
# 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_postun.
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_postun.
|
||||||
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220):
|
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220).
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%postun std
|
%postun std
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_postun -n ghostscript-fonts-std
|
||||||
|
%else
|
||||||
%reconfigure_fonts_postun
|
%reconfigure_fonts_postun
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
then %run_suseconfig -m fonts
|
then %run_suseconfig -m fonts
|
||||||
@ -180,19 +190,29 @@ exit 0
|
|||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
# 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_posttrans:
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_posttrans.
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%posttrans std
|
%posttrans std
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_posttrans -n ghostscript-fonts-std
|
||||||
|
%else
|
||||||
%reconfigure_fonts_posttrans
|
%reconfigure_fonts_posttrans
|
||||||
|
%endif
|
||||||
exit 0
|
exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_post.
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_post.
|
||||||
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220):
|
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220).
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%post other
|
%post other
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_post -n ghostscript-fonts-other
|
||||||
|
%else
|
||||||
%reconfigure_fonts_post
|
%reconfigure_fonts_post
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
then %run_suseconfig -m fonts
|
then %run_suseconfig -m fonts
|
||||||
@ -208,10 +228,15 @@ exit 0
|
|||||||
# 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_postun.
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_postun.
|
||||||
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220):
|
# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the scriptlet if suse_version < 1220).
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%postun other
|
%postun other
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_postun -n ghostscript-fonts-other
|
||||||
|
%else
|
||||||
%reconfigure_fonts_postun
|
%reconfigure_fonts_postun
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
then %run_suseconfig -m fonts
|
then %run_suseconfig -m fonts
|
||||||
@ -227,9 +252,14 @@ exit 0
|
|||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
# 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
|
||||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_posttrans:
|
# Only if suse_version > 1220 it BuildRequires fontpackages-devel which provides reconfigure_fonts_posttrans.
|
||||||
|
# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed and openSUSE Leap 15.0 and SLE15 and later:
|
||||||
%posttrans other
|
%posttrans other
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150000
|
||||||
|
%reconfigure_fonts_posttrans -n ghostscript-fonts-other
|
||||||
|
%else
|
||||||
%reconfigure_fonts_posttrans
|
%reconfigure_fonts_posttrans
|
||||||
|
%endif
|
||||||
exit 0
|
exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user