SPECS: STonX.spec - use fontpostinst
qboosh
qboosh at pld-linux.org
Mon Mar 20 18:39:09 CET 2006
Author: qboosh Date: Mon Mar 20 17:39:09 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use fontpostinst
---- Files affected:
SPECS:
STonX.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/STonX.spec
diff -u SPECS/STonX.spec:1.14 SPECS/STonX.spec:1.15
--- SPECS/STonX.spec:1.14 Sun Mar 19 18:50:57 2006
+++ SPECS/STonX.spec Mon Mar 20 18:39:03 2006
@@ -26,6 +26,7 @@
BuildRequires: rpmbuild(macros) >= 1.268
%{?with_svga:BuildRequires: svgalib-devel}
BuildRequires: unzip
+Requires(post,postun): fontpostinst
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -74,16 +75,10 @@
rm -rf $RPM_BUILD_ROOT
%post
-if [ -x /usr/X11R6/bin/mkfontdir ]; then
- (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
-fi
-%service -q xfs reload
+fontpostinst misc
%postun
-if [ -x /usr/X11R6/bin/mkfontdir ]; then
- (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
-fi
-%service -q xfs reload
+fontpostinst misc
%files
%defattr(644,root,root,755)
@@ -93,7 +88,7 @@
%attr(755,root,root) %{_libdir}/STonX/stonx
%{_libdir}/STonX/*.img
%{_libdir}/STonX/Keysyms
-%{_fontsdir}/misc/*
+%{_fontsdir}/misc/*.pcf.gz
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -101,6 +96,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2006/03/20 17:39:03 qboosh
+- use fontpostinst
+
Revision 1.14 2006/03/19 17:50:57 glen
- use %service
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/STonX.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list