From 0ca04ed2ebf6978f2190736efbb146dae2dc870e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova jplesnik@redhat.com Date: Fri, 1 Apr 2016 09:51:45 +0200 Subject: 2.027 bump
--- font-location.patch | 2 +- perl-PDF-API2.spec | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/font-location.patch b/font-location.patch index c2ccdd2..1074f89 100644 --- a/font-location.patch +++ b/font-location.patch @@ -5,7 +5,7 @@ diff -Naur PDF-API2-2.016-pristine/lib/PDF/API2.pm PDF-API2-2.016/lib/PDF/API2.p
no warnings qw[ deprecated recursion uninitialized ];
--our @FontDirs = ( (map { "$_/PDF/API2/fonts" } @INC), +-our @FontDirs = ( (map { "$_/PDF/API2/fonts" } @INC), - qw[ /usr/share/fonts /usr/local/share/fonts c:/windows/fonts c:/winnt/fonts ] ); +our @FontDirs = ( qw[ /usr/share/fonts/dejavu /usr/share/fonts ] );
diff --git a/perl-PDF-API2.spec b/perl-PDF-API2.spec index 831d489..c6dc965 100644 --- a/perl-PDF-API2.spec +++ b/perl-PDF-API2.spec @@ -1,6 +1,6 @@ Name: perl-PDF-API2 -Version: 2.025 -Release: 2%{?dist} +Version: 2.027 +Release: 1%{?dist} Summary: Perl module for creation and modification of PDF files
Group: System Environment/Libraries @@ -15,7 +15,7 @@ BuildRequires: findutils BuildRequires: make BuildRequires: sed BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: @@ -71,13 +71,9 @@ for file in contrib/pdf-{de,}optimize.pl; do sed -i 's/usr/local/usr/' $file done
-# 027_winfont wants Win32.pm, so remove it -rm -f examples/027_winfont -sed -i '/examples/027_winfont/d' MANIFEST - -# make mode on included examples and contrib 0644 to keep from triggering +# make mode on included contrib 0644 to keep from triggering # rpmlint warning and additional auto-requires -chmod a-x contrib/* examples/* +chmod a-x contrib/*
# recode Changes as UTF-8 iconv -f iso-8859-1 -t utf-8 < Changes > Changes.utf8 @@ -110,7 +106,7 @@ make test %files %license LICENSE %doc Changes PATENTS README -%doc contrib examples +%doc contrib %{perl_vendorlib}/PDF/ %{_datadir}/man/man3/* # files that are not relevent to this OS @@ -118,6 +114,9 @@ make test
%changelog +* Thu Mar 31 2016 Jitka Plesnikova jplesnik@redhat.com - 2.027-1 +- 2.027 bump + * Thu Feb 04 2016 Fedora Release Engineering releng@fedoraproject.org - 2.025-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild