rpms/ttmkfdir/devel ttmkfdir.spec,1.24,1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Sep 29 07:29:48 UTC 2006


Author: lizhang

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

Modified Files:
	ttmkfdir.spec 
Log Message:
delete "%post" and "Requires(post)"in ttmkfdir.spec



Index: ttmkfdir.spec
===================================================================
RCS file: /cvs/dist/rpms/ttmkfdir/devel/ttmkfdir.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ttmkfdir.spec	28 Sep 2006 02:40:44 -0000	1.24
+++ ttmkfdir.spec	29 Sep 2006 07:29:44 -0000	1.25
@@ -1,7 +1,7 @@
 Summary: Utility to create fonts.scale files for truetype fonts
 Name: ttmkfdir
 Version: 3.0.9
-Release: 21
+Release: 22
 Source0: %{name}-%{version}.tar.bz2
 Patch: ttmkfdir-3.0.9-cpp.patch
 Patch1: ttmkfdir-3.0.9-zlib.patch
@@ -17,7 +17,6 @@
 BuildRequires: freetype-devel >= 2.0
 BuildRequires: zlib-devel flex
 BuildRequires: libtool
-Requires(post): coreutils, chkfontpath, /sbin/service
 
 # ttmkfdir used to be in the following packages at one point
 Conflicts: XFree86-font-utils < 4.2.99.2-0.20021126.3
@@ -49,23 +48,15 @@
 %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
-    [ ! -d $dir ] && continue
-    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
+* Fri Sep 29 2006 Lingning Zhang <lizhang at redhat.com> - 3.0.9-22
+- delete "%post" and "Requires(post)" in ttmkfdir.spec
+
 * Thu Sep 28 2006 Lingning Zhang <lizhang at redhat.com> - 3.0.9-21
 - modify release
 




More information about the fedora-cvs-commits mailing list