From db33d7094e99024ba1cad649114bb620a8b71047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 26 Sep 2016 10:42:16 +0200
Subject: 0.37 bump

---
 .gitignore          |  1 +
 perl-PDF-Reuse.spec | 45 +++++++++++++++++++++++++--------------------
 sources             |  2 +-
 3 files changed, 27 insertions(+), 21 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9276c5e..30696d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 PDF-Reuse-0.35.tar.gz
 /PDF-Reuse-0.36.tar.gz
+/PDF-Reuse-0.37.tar.gz
diff --git a/perl-PDF-Reuse.spec b/perl-PDF-Reuse.spec
index 7261cb4..cc266ce 100644
--- a/perl-PDF-Reuse.spec
+++ b/perl-PDF-Reuse.spec
@@ -1,21 +1,24 @@
-Name:       perl-PDF-Reuse 
-Version:    0.36
-Release:    5%{?dist}
-# Reuse.pm -> GPL+ or Artistic
-License:    GPL+ or Artistic 
-Group:      Development/Libraries
-Summary:    Reuse and mass produce PDF documents 
-Source:     
http://search.cpan.org/CPAN/authors/id/C/CN/CNIGHS/PDF-Reuse-%{version}.tar.gz 
-Url:        http://search.cpan.org/dist/PDF-Reuse
-BuildArch:  noarch
+Name:           perl-PDF-Reuse
+Version:        0.37
+Release:        1%{?dist}
+Summary:        Reuse and mass produce PDF documents
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+Url:            http://search.cpan.org/dist/PDF-Reuse/
+Source:         
http://search.cpan.org/CPAN/authors/id/C/CN/CNIGHS/PDF-Reuse-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(AutoLoader)
 BuildRequires:  perl(autouse)
+# Carp not used at tests
 BuildRequires:  perl(Compress::Zlib)
 BuildRequires:  perl(constant)
+# Data::Dumper not used at tests
 BuildRequires:  perl(Digest::MD5)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(strict)
@@ -23,11 +26,15 @@ BuildRequires:  perl(Text::PDF::TTFont0)
 BuildRequires:  perl(warnings)
 # Tests:
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Font::TTF)
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Test)
-Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-Requires:   perl(Text::PDF::TTFont0)
+BuildRequires:  perl(Test::Deep)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Carp)
+Requires:       perl(Data::Dumper)
+Requires:       perl(Text::PDF::TTFont0)
 
 %description
 This module allows you to reuse PDF-files. You can use pages, images,
@@ -43,11 +50,6 @@ production.
 
 %prep
 %setup -q -n PDF-Reuse-%{version}
-for F in Util/reuseComponent_pl; do
-    iconv -f iso8859-1 -t utf8 < "$F" > "${F}.utf8"
-    touch -r "$F" "${F}.utf8"
-    mv "${F}.utf8" "$F"
-done
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -55,18 +57,21 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes README Util
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Sep 26 2016 Petr Pisar <ppi...@redhat.com> - 0.37-1
+- 0.37 bump
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 0.36-5
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 250507e..6c73091 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-75cef01776f4bb802a5dc2e9e3de0eba  PDF-Reuse-0.36.tar.gz
+dfcbf80ace4d8716bba78e4cee535c15  PDF-Reuse-0.37.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-PDF-Reuse.git/commit/?h=f25&id=db33d7094e99024ba1cad649114bb620a8b71047
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to