fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/ttmkfdir/devel ttmkfdir.spec,1.21,1.22

Subject: rpms/ttmkfdir/devel ttmkfdir.spec,1.21,1.22
From:
Date: Wed, 6 Sep 2006 02:15:29 -0400
Author: lizhang

Update of /cvs/dist/rpms/ttmkfdir/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12651

Modified Files:
        ttmkfdir.spec 
Log Message:
add "%post" in ttmkfdir.spec for fixing bug173591



Index: ttmkfdir.spec
===================================================================
RCS file: /cvs/dist/rpms/ttmkfdir/devel/ttmkfdir.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ttmkfdir.spec       12 Jul 2006 08:34:06 -0000      1.21
+++ ttmkfdir.spec       6 Sep 2006 06:15:20 -0000       1.22
@@ -1,7 +1,7 @@
 Summary: Utility to create fonts.scale files for truetype fonts
 Name: ttmkfdir
 Version: 3.0.9
-Release: 20.2.1
+Release: 20.3
 Source0: %{name}-%{version}.tar.bz2
 Patch: ttmkfdir-3.0.9-cpp.patch
 Patch1: ttmkfdir-3.0.9-zlib.patch
@@ -48,12 +48,25 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+for dir in $(/usr/sbin/chkfontpath --list | sed -e 
'/^Current/d;s#^[0-9]*:##g;s#:unscaled$##g;/^[[:space:]]*$/d' | sort | uniq) ;
+do 
+    if ls $dir | grep -Eiqs '\.(ot[cf]|tt[cf])$'; 
+    then 
+        touch $dir 
+    fi
+done
+service xfs restart
+
 %files
 %defattr(-,root,root)
 %doc README
 %{_bindir}/ttmkfdir
 
 %changelog
+* Wed Sep 06 2006 Lingning Zhang <lizhang@xxxxxxxxxx> - 3.0.9-20.3
+- add "%post" in ttmkfdir.spec for fixing bug173591
+
 * Wed Jul 12 2006 Jesse Keating <jkeating@xxxxxxxxxx> - 3.0.9-20.2.1
 - rebuild
 

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/ttmkfdir/devel ttmkfdir.spec,1.21,1.22, fedora-cvs-commits <=