From 315a868a228aee70207b232d7f5509831544043e Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Fri, 1 Apr 2016 09:53:37 +0200
Subject: 2.027 bump
---
.gitignore | 1 +
font-location.patch | 2 +-
perl-PDF-API2.spec | 19 +++++++++----------
sources | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.gitignore b/.gitignore
index 40e499a..7d81be2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ PDF-API2-0.73.tar.gz
/PDF-API2-2.021.tar.gz
/PDF-API2-2.023.tar.gz
/PDF-API2-2.025.tar.gz
+/PDF-API2-2.027.tar.gz
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(a)redhat.com> - 2.027-1
+- 2.027 bump
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.025-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
diff --git a/sources b/sources
index 93078fb..a04ebbb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d8b5e8a8a08986816a0e97d5236de979 PDF-API2-2.025.tar.gz
+8a0df7705899a966fb7ad662ebbefcc2 PDF-API2-2.027.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-PDF-API2.git/commit/?h=f24&id...