- fixed build for openSUSE <= 12.1
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-fonts?expand=0&rev=79
This commit is contained in:
parent
064bac701d
commit
888fc50d0d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 8 09:30:02 UTC 2012 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- fixed build for openSUSE <= 12.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 6 10:31:44 UTC 2012 - pgajdos@suse.com
|
Mon Aug 6 10:31:44 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
|
|
||||||
Name: xorg-x11-fonts
|
Name: xorg-x11-fonts
|
||||||
BuildRequires: bdftopcf
|
BuildRequires: bdftopcf
|
||||||
|
%if 0%{?suse_version} > 01210
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
|
%endif
|
||||||
BuildRequires: mkfontdir
|
BuildRequires: mkfontdir
|
||||||
BuildRequires: mkfontscale
|
BuildRequires: mkfontscale
|
||||||
# ucs2any
|
# ucs2any
|
||||||
@ -147,9 +149,23 @@ rm -rf $RPM_BUILD_ROOT/usr/etc
|
|||||||
%clean
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 01210
|
||||||
%reconfigure_fonts_scriptlets
|
%reconfigure_fonts_scriptlets
|
||||||
|
|
||||||
%reconfigure_fonts_scriptlets -n xorg-x11-fonts-core
|
%reconfigure_fonts_scriptlets -n xorg-x11-fonts-core
|
||||||
|
%else
|
||||||
|
%post
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
|
%post core
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
|
%postun core
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user