[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-PDF-API2/devel perl-PDF-API2.spec,1.19,1.20



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-PDF-API2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10469

Modified Files:
	perl-PDF-API2.spec 
Log Message:
- fix dejavu-* dependencies again
- recode TODO as UTF-8
- simplify perl requires filter



Index: perl-PDF-API2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-PDF-API2/devel/perl-PDF-API2.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- perl-PDF-API2.spec	1 Dec 2008 20:24:57 -0000	1.19
+++ perl-PDF-API2.spec	25 Feb 2009 11:57:59 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           perl-PDF-API2
 Version:        0.72.003
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl module for creation and modification of PDF files
 
 Group:          System Environment/Libraries
@@ -13,8 +13,8 @@
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
 BuildRequires:  perl(Compress::Zlib), perl(XML::Parser::Expat)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       dejavu-fonts-sans, dejavu-fonts-sans-mono, dejavu-fonts-serif
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       dejavu-sans-fonts, dejavu-sans-mono-fonts, dejavu-serif-fonts
 
 %description
 A Perl Module Chain to faciliate the Creation and Modification of High-Quality
@@ -48,15 +48,13 @@
 # rpmlint warning and additional auto-requires
 chmod a-x contrib/* examples/*
 
-# Filter unwanted Requires:
-cat << \EOF > %{name}-req
-#!/bin/sh
-%{__perl_requires} $* |\
-  sed -e '/perl(the)/d'
-EOF
+# recode TODO as UTF-8
+iconv -f iso-8859-1 -t utf-8 < TODO > TODO.utf8
+mv -f TODO.utf8 TODO
 
-%define __perl_requires %{_builddir}/PDF-API2-%{version}/%{name}-req
-chmod +x %{__perl_requires}
+# Filter unwanted Requires:
+%global reqfilt /bin/sh -c "%{__perl_requires} | sed -e '/perl(the)/d'"
+%global __perl_requires %{reqfilt}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -87,13 +85,18 @@
 %defattr(-,root,root,-)
 %doc AUTHORS CONTACT COPYING LICENSE README TODO
 %doc contrib examples
-%{perl_vendorlib}/*
+%{perl_vendorlib}/PDF/
 # files that are not relevent to this OS
 %exclude %{perl_vendorlib}/PDF/API2/Basic/TTF/Win32.pm
 %exclude %{perl_vendorlib}/PDF/API2/Win32.pm
 
 
 %changelog
+* Wed Feb 25 2009 Paul Howarth <paul city-fan org> - 0.72.003-2
+- fix dejavu-* dependencies again
+- recode TODO as UTF-8
+- simplify perl requires filter
+
 * Mon Dec 01 2008 Bernard Johnson <bjohnson symetrix com> - 0.72.003-1
 - v 0.72.003
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]