rpms/nethack/devel nethack.spec,1.19,1.20

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Thu Jan 17 15:18:23 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/nethack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28450

Modified Files:
	nethack.spec 
Log Message:
Create a symlink to our fonts in /etc/X11/fontpath.d (Bug #221692)


Index: nethack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nethack/devel/nethack.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- nethack.spec	21 Aug 2007 20:35:11 -0000	1.19
+++ nethack.spec	17 Jan 2008 15:17:49 -0000	1.20
@@ -3,7 +3,7 @@
 
 Name:           nethack
 Version:        3.4.3
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        A rogue-like single player dungeon exploration game
 
 Group:          Amusements/Games
@@ -103,7 +103,13 @@
 
 %post
 mkfontdir %{nhgamedir}/fonts
-
+if [ ! -L /etc/X11/fontpath.d/nethack ] ; then
+    ln -s %{nhgamedir}/fonts /etc/X11/fontpath.d/nethack
+fi
+
+%preun
+rm /etc/X11/fontpath.d/nethack
+rm %{nhgamedir}/fonts/fonts.dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -130,6 +136,9 @@
 
 
 %changelog
+* Thu Jan 17 2008 Luke Macken <lmacken at redhat.com> 3.4.3-16
+- Create a symlink to our fonts in /etc/X11/fontpath.d (Bug #221692)
+
 * Tue Aug 21 2007 Luke Macken <lmacken at redhat.com> 3.4.3-15
 - Rebuild
 




More information about the fedora-extras-commits mailing list