rpms/VLGothic-fonts/F-7 VLGothic-fonts.spec,1.12,1.13

Ryo Dairiki (ryo) fedora-extras-commits at redhat.com
Sun Oct 28 07:49:56 UTC 2007


Author: ryo

Update of /cvs/pkgs/rpms/VLGothic-fonts/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2947

Modified Files:
	VLGothic-fonts.spec 
Log Message:
make it remove the old config file


Index: VLGothic-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/VLGothic-fonts/F-7/VLGothic-fonts.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- VLGothic-fonts.spec	24 Oct 2007 15:05:53 -0000	1.12
+++ VLGothic-fonts.spec	28 Oct 2007 07:49:23 -0000	1.13
@@ -35,6 +35,7 @@
 Summary: Sans glyphs of VLGothic-fonts
 Group: User Interface/X
 Requires: %{name}-docs = %{version}-%{release}
+Obsoletes: VLGothic < %{version}-%{release}
 
 %description sans
 The VLGothic-fonts-sans package contains sans glyphs of VLGothic fonts.
@@ -43,6 +44,7 @@
 Summary: Monospace glyphs of VLGothic-fonts
 Group: User Interface/X
 Requires: %{name}-docs = %{version}-%{release}
+Obsoletes: VLGothic < %{version}-%{release}
 
 %description monospace
 The VLGothic-fonts-monospace package contains monospace glyphs of VLGothic fonts.
@@ -64,6 +66,11 @@
 mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/fonts/VLGothic
 mv *.ttf ${RPM_BUILD_ROOT}/%{_datadir}/fonts/VLGothic
 
+%post sans
+rm -f /etc/fonts/conf.d/59-VLGothic.conf
+
+%post monospace
+rm -f /etc/fonts/conf.d/59-VLGothic.conf
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -91,6 +98,7 @@
 * Thu Oct 18 2007 Ryo Dairiki <ryo-dairiki at users.sourceforge.net> - 20071015-2
 - Rename the font directory.
 - Fix font selection problem in Flash 9.
+- Make it remove the old configuration files on updating.
 
 * Thu Oct 18 2007 Ryo Dairiki <ryo-dairiki at users.sourceforge.net> - 20071015-1
 - Update to 20071015




More information about the fedora-extras-commits mailing list