rpms/icelandic-fonts/devel icelandic-fonts.spec,1.2,1.3

Jon Stanley jstanley at fedoraproject.org
Sat Feb 21 07:27:35 UTC 2009


Author: jstanley

Update of /cvs/pkgs/rpms/icelandic-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7165

Modified Files:
	icelandic-fonts.spec 
Log Message:
No fontconfig file in this font - can't use the font_pkg macro



Index: icelandic-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/icelandic-fonts/devel/icelandic-fonts.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- icelandic-fonts.spec	21 Feb 2009 07:18:51 -0000	1.2
+++ icelandic-fonts.spec	21 Feb 2009 07:27:05 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name:           %{fontname}-fonts
 Version:        1.001
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Icelandic Magical Staves
 
 Group:          User Interface/X
@@ -37,15 +37,27 @@
 %clean
 rm -fr %{buildroot}
 
+%post
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache -f %{_fontdir} || :
+fi
+
+%postun
+if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache -f %{_fontdir} || :
+fi
 
-%_font_pkg -f %{fontconf} *.ttf
-
-%doc README.license
-
+%files
+%defattr(644,root,root,755)
 %dir %{_fontdir}
+%{_fontdir}/*.otf
+%doc README.license
 
 
 %changelog
+* Fri Feb 20 2009 Jon Stanley <jonstanley at gmail.com> - 1.001-4
+- No fontconfig file, so can't use the font_pkg macro
+
 * Fri Feb 20 2009 Jon Stanley <jonstanley at gmail.com> - 1.001-3
 - Update to new packaging guidelines
 




More information about the fonts-bugs mailing list