From e2dd2a957f9783b76501c449846e815e2948ef04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 2 May 2018 14:44:23 +0200 Subject: [PATCH] Modernize spec file And remove stray Font::TTF::Win32 manual. --- perl-Font-TTF.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/perl-Font-TTF.spec b/perl-Font-TTF.spec index 6521bf2..45d168a 100644 --- a/perl-Font-TTF.spec +++ b/perl-Font-TTF.spec @@ -8,10 +8,9 @@ URL: http://search.cpan.org/dist/Font-TTF/ Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz BuildArch: noarch # Build -BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Getopt::Std) BuildRequires: perl(strict) @@ -26,13 +25,11 @@ BuildRequires: perl(IO::String) BuildRequires: perl(Symbol) BuildRequires: perl(utf8) BuildRequires: perl(vars) -# Unused BuildRequires: perl(XML::Parser::Expat) +# XML::Parser::Expat not used at tests # Tests only BuildRequires: perl(File::Compare) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Simple) - -BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description @@ -69,7 +66,6 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* %check @@ -90,6 +86,7 @@ make test # or poke in the windows registry to resolve fonts # (upstream makefile needs to get smarter) %exclude %{perl_vendorlib}/Font/TTF/Win32.pm +%exclude %{_mandir}/man3/Font::TTF::Win32.3pm.* %files XMLparse %license LICENSE