- 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
|
||||
|
||||
|
@ -18,7 +18,9 @@
|
||||
|
||||
Name: xorg-x11-fonts
|
||||
BuildRequires: bdftopcf
|
||||
%if 0%{?suse_version} > 01210
|
||||
BuildRequires: fontpackages-devel
|
||||
%endif
|
||||
BuildRequires: mkfontdir
|
||||
BuildRequires: mkfontscale
|
||||
# ucs2any
|
||||
@ -147,9 +149,23 @@ rm -rf $RPM_BUILD_ROOT/usr/etc
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%if 0%{?suse_version} > 01210
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user