rpms/tetex-font-kerkis/FC-4 tetex-font-kerkis.spec,1.10,1.11

Sarantis Paskalis (sarantis) fedora-extras-commits at redhat.com
Sun Nov 6 17:50:07 UTC 2005


Author: sarantis

Update of /cvs/extras/rpms/tetex-font-kerkis/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29311

Modified Files:
	tetex-font-kerkis.spec 
Log Message:
- Use run-time define updmap.cfg (Michal Jaegermann, bug #172492).



Index: tetex-font-kerkis.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-kerkis/FC-4/tetex-font-kerkis.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- tetex-font-kerkis.spec	2 Nov 2005 12:59:00 -0000	1.10
+++ tetex-font-kerkis.spec	6 Nov 2005 17:50:05 -0000	1.11
@@ -6,7 +6,7 @@
 
 Name:           tetex-font-kerkis
 Version:        2.0
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Kerkis type 1 fonts for LaTeX
 Group:          Applications/Publishing
 License:        Distributable
@@ -62,14 +62,16 @@
 
 %post
 /usr/bin/texhash
+conffile="$(/usr/bin/texconfig-sys conf | /bin/grep updmap.cfg)"
 if [ "$1" = "1" ]; then
-  /usr/bin/updmap-sys --quiet --nohash --enable Map %{texpkg}.map
+  /usr/bin/updmap-sys --quiet --nohash --cnffile ${conffile} --enable Map %{texpkg}.map
 fi
 
 
 %postun
+conffile="$(/usr/bin/texconfig-sys conf | /bin/grep updmap.cfg)"
 if [ "$1" = "0" ]; then
-  /usr/bin/updmap-sys --quiet --nohash --disable %{texpkg}.map
+  /usr/bin/updmap-sys --quiet --nohash --cnffile ${conffile} --disable %{texpkg}.map
 fi
 /usr/bin/texhash
 
@@ -86,6 +88,9 @@
 
 
 %changelog
+* Sun Nov  6 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 2.0-10
+- Use run-time define updmap.cfg (Michal Jaegermann, bug #172492).
+
 * Wed Nov  2 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 2.0-9
 - Use absolute path commands in post and postun.
 




More information about the fedora-extras-commits mailing list