rpms/tetex-font-cm-lgc/FC-4 tetex-font-cm-lgc.spec,1.6,1.7
Sarantis Paskalis (sarantis)
fedora-extras-commits at redhat.com
Wed Jul 6 12:21:25 UTC 2005
Author: sarantis
Update of /cvs/extras/rpms/tetex-font-cm-lgc/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24174/tetex-font-cm-lgc/FC-4
Modified Files:
tetex-font-cm-lgc.spec
Log Message:
Run updmap-sys in %post only when installing, not when updating.
Index: tetex-font-cm-lgc.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-cm-lgc/FC-4/tetex-font-cm-lgc.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- tetex-font-cm-lgc.spec 17 Jun 2005 02:25:33 -0000 1.6
+++ tetex-font-cm-lgc.spec 6 Jul 2005 12:21:22 -0000 1.7
@@ -4,7 +4,7 @@
Name: tetex-font-cm-lgc
Version: 0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CM-LGC Type1 fonts for LaTeX
Group: Applications/Publishing
@@ -64,7 +64,9 @@
%post
/usr/bin/mktexlsr %{texmf}
-/usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --enable Map cm-lgc.map
+if [ "$1" = "1" ]; then
+ /usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --enable Map cm-lgc.map
+fi
%postun
if [ "$1" = "0" ]; then
@@ -88,6 +90,9 @@
%changelog
+* Wed Jul 6 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-2
+- Run updmap-sys only when installing, not when updating
+
* Wed Jun 15 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-1
- update to 0.5 (#160464)
- make the package tetex-3 compliant (use updmap-sys instead of updmap,
More information about the scm-commits
mailing list