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

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


Author: sarantis

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

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



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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- tetex-font-cm-lgc.spec	2 Nov 2005 12:57:18 -0000	1.10
+++ tetex-font-cm-lgc.spec	6 Nov 2005 17:45:21 -0000	1.11
@@ -6,7 +6,7 @@
 
 Name:           tetex-font-cm-lgc
 Version:        0.5
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        CM-LGC Type1 fonts for LaTeX
 Group:          Applications/Publishing
 License:        GPL
@@ -15,7 +15,7 @@
 # upstream source - unversioned zip file
 # ftp://tug.ctan.org/pub/tex-archive/fonts/ps-type1/cm-lgc.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       tetex-latex tetex-fonts
+Requires:       tetex-latex tetex-fonts grep
 BuildArch:      noarch
 
 
@@ -57,14 +57,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
 
@@ -83,6 +85,9 @@
 
 
 %changelog
+* Sun Nov  6 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-6
+- Use run-time define updmap.cfg (Michal Jaegermann, bug #172491).
+
 * Wed Nov  2 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-5
 - Use absolute path commands in post and postun.
 




More information about the fedora-extras-commits mailing list