[perl-Font-TTF] 1.05 enhancement and bugfix bump

Petr Šabata psabata at fedoraproject.org
Mon Feb 2 14:25:05 UTC 2015


commit 34b66bf4cf796b9a2e7771d1dad61f020df901d7
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Feb 2 15:24:55 2015 +0100

    1.05 enhancement and bugfix bump

 .gitignore         |    1 +
 perl-Font-TTF.spec |   33 +++++++++++++++++++++++----------
 sources            |    2 +-
 3 files changed, 25 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index de55795..4ea60f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ Font-TTF-0.45.tar.gz
 /Font-TTF-1.01.tar.gz
 /Font-TTF-1.02.tar.gz
 /Font-TTF-1.04.tar.gz
+/Font-TTF-1.05.tar.gz
diff --git a/perl-Font-TTF.spec b/perl-Font-TTF.spec
index 57aea82..1901c4d 100644
--- a/perl-Font-TTF.spec
+++ b/perl-Font-TTF.spec
@@ -1,23 +1,33 @@
 Name:          perl-Font-TTF
-Version:       1.04
-Release:       3%{?dist}
+Version:       1.05
+Release:       1%{?dist}
 Summary:       Perl library for modifying TTF font files
 Group:         Development/Libraries
 License:       Artistic 2.0
 URL:           http://search.cpan.org/dist/Font-TTF/
 Source0:       http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
 BuildArch:     noarch
+# Build
 BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(Getopt::Std)
+BuildRequires: perl(strict)
+# Runtime
+BuildRequires: perl(bytes)
 BuildRequires: perl(Compress::Zlib)
+BuildRequires: perl(Data::Dumper)
 BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Compare)
-BuildRequires: perl(Getopt::Std)
+BuildRequires: perl(File::Spec)
 BuildRequires: perl(IO::File)
 BuildRequires: perl(IO::String)
-BuildRequires: perl(strict)
 BuildRequires: perl(Symbol)
+BuildRequires: perl(utf8)
+BuildRequires: perl(vars)
+# Unused BuildRequires: perl(XML::Parser::Expat)
+# Tests only
+BuildRequires: perl(File::Compare)
 BuildRequires: perl(Test::Simple)
+
 BuildRequires: perl(vars)
 Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
@@ -35,20 +45,20 @@ module.
 %setup -q -n Font-TTF-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc README.TXT LICENSE CONTRIBUTORS Changes TODO
+%license LICENSE
+%doc README.TXT CONTRIBUTORS Changes TODO
 %dir %{perl_vendorlib}/Font
 %dir %{perl_vendorlib}/Font/TTF
 %{perl_vendorlib}/ttfmod.pl
@@ -61,6 +71,9 @@ make test
 %exclude %{perl_vendorlib}/Font/TTF/Win32.pm
 
 %changelog
+* Mon Feb 02 2015 Petr Šabata <contyk at redhat.com> - 1.05-1
+- 1.05 enhancement and bugfix bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.04-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 0b15284..f4a2201 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ae3349a2259429c9327e183d8564d34a  Font-TTF-1.04.tar.gz
+a9d0acf4cb9ebaee875d71732b83dfe5  Font-TTF-1.05.tar.gz


More information about the scm-commits mailing list