rpms/perl-GDTextUtil/devel perl-GDTextUtil.spec,1.12,1.13

Tom Callaway spot at fedoraproject.org
Wed Jan 14 21:42:17 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/perl-GDTextUtil/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14087

Modified Files:
	perl-GDTextUtil.spec 
Log Message:
do not package font


Index: perl-GDTextUtil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-GDTextUtil/devel/perl-GDTextUtil.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-GDTextUtil.spec	28 Feb 2008 13:15:39 -0000	1.12
+++ perl-GDTextUtil.spec	14 Jan 2009 21:41:46 -0000	1.13
@@ -1,9 +1,6 @@
-
-%define fontdir %{_datadir}/fonts/perl
-
 Name:           perl-GDTextUtil
 Version:        0.86
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Text utilities for use with GD
 
 Group:          Development/Libraries
@@ -18,7 +15,6 @@
 BuildRequires:  perl(Test::More)
 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       fontconfig
 
 %description
 This package provides three modules that make it possible to work with
@@ -30,7 +26,6 @@
 
 %prep
 %setup -q -n GDTextUtil-%{version}
-%{__perl} -pi -e 's/\r\n/\n/' Dustismo.LICENSE
 
 
 %build
@@ -45,11 +40,6 @@
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-# Install the TrueType font
-install -d $RPM_BUILD_ROOT%{fontdir}
-install -p -m 644 Dustismo_Sans.ttf $RPM_BUILD_ROOT%{fontdir}/
-touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1
-
 
 %check
 make test
@@ -59,21 +49,17 @@
 rm -rf $RPM_BUILD_ROOT
 
 
-%post
-fc-cache -f %{fontdir} || :
-
-
 %files
 %defattr(-,root,root,-)
-%doc Changes README Dustismo.LICENSE demo/
+%doc Changes README demo/
 %{perl_vendorlib}/GD/
 %{_mandir}/man3/*.3pm*
-%dir %{fontdir}/
-%{fontdir}/*ttf
-%ghost %{fontdir}/fonts.cache-1
 
 
 %changelog
+* Wed Jan 14 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 0.86-12
+- no need to package this font, only used for buildtime tests
+
 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.86-11
 - Rebuild for perl 5.10 (again)
 




More information about the scm-commits mailing list