From 299174f3313f7e51e5eaf1de77319b32d5810959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 1 Aug 2017 15:09:10 +0200
Subject: Version 5 bump

---
 .gitignore                                         |  1 +
 ...TIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch | 29 ----------------------
 perl-Graphics-TIFF.spec                            | 21 ++++++++++------
 sources                                            |  2 +-
 4 files changed, 16 insertions(+), 37 deletions(-)
 delete mode 100644 
Graphics-TIFF-4-LibTIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch

diff --git a/.gitignore b/.gitignore
index 2b23cae..d70be98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Graphics-TIFF-4.tar.gz
+/Graphics-TIFF-5.tar.gz
diff --git a/Graphics-TIFF-4-LibTIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch 
b/Graphics-TIFF-4-LibTIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch
deleted file mode 100644
index 0266053..0000000
--- a/Graphics-TIFF-4-LibTIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From d334dc8365831c246cbce569fc312b7c7077911e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
-Date: Fri, 28 Jul 2017 13:36:53 +0200
-Subject: [PATCH] LibTIFF-4.0.8 calls pkgconfig file libtiff-4
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Petr Písař <ppi...@redhat.com>
----
- Makefile.PL | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index 648bc99..0c3a178 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -20,7 +20,7 @@ my %pkgcfg;
- if (
-     eval {
-         %pkgcfg =
--          ExtUtils::PkgConfig->find( 'libtiff >= ' . $build_reqs{libtiff} );
-+          ExtUtils::PkgConfig->find( 'libtiff-4 >= ' . $build_reqs{libtiff} );
-     }
-   )
- {
--- 
-2.9.4
-
diff --git a/perl-Graphics-TIFF.spec b/perl-Graphics-TIFF.spec
index 084f644..3e449f8 100644
--- a/perl-Graphics-TIFF.spec
+++ b/perl-Graphics-TIFF.spec
@@ -2,14 +2,12 @@
 %{bcond_without perl_Graphics_TIFF_enables_optional_test}
 
 Name:           perl-Graphics-TIFF
-Version:        4
+Version:        5
 Release:        1%{?dist}
 Summary:        Perl extension for the LibTIFF library
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Graphics-TIFF/
 Source0:        
http://www.cpan.org/authors/id/R/RA/RATCLIFFE/Graphics-TIFF-%{version}.tar.gz
-# Correct pkgconfig identifier, CPAN RT#122628
-Patch0:         
Graphics-TIFF-4-LibTIFF-4.0.8-calls-pkgconfig-file-libtiff-4.patch
 BuildRequires:  findutils
 BuildRequires:  gcc
 BuildRequires:  make
@@ -31,15 +29,22 @@ BuildRequires:  perl(Readonly)
 BuildRequires:  perl(XSLoader)
 # Tests:
 BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(Image::Magick)
 BuildRequires:  perl(Test::Deep)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Requires)
 %if %{with perl_Graphics_TIFF_enables_optional_test}
 # Optional tests:
-# libtiff-tools for tiffinfo and tiff2pdf
+BuildRequires:  coreutils
+BuildRequires:  grep
+# libtiff-tools for tiffcp, tiff2pdf, tiffinfo
 BuildRequires:  libtiff-tools
+BuildRequires:  perl(:VERSION) >= 5.10
+BuildRequires:  perl(feature)
+BuildRequires:  perl(if)
+BuildRequires:  perl(Image::Magick)
 # Test::Perl::Critic not used
+BuildRequires:  util-linux
+BuildRequires:  which
 %endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -49,7 +54,6 @@ LibTIFF library in a Perlish and object-oriented way.
 
 %prep
 %setup -q -n Graphics-TIFF-%{version}
-%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
@@ -64,11 +68,14 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
 make test
 
 %files
-%doc Changes examples
+%doc Changes examples README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Graphics*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Aug 01 2017 Petr Pisar <ppi...@redhat.com> - 5-1
+- Version 5 bump
+
 * Fri Jul 28 2017 Petr Pisar <ppi...@redhat.com> 4-1
 - Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index 20fa7c3..89db6bd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Graphics-TIFF-4.tar.gz) = 
b5ae6c2c34f5a7646c54debebd3ac69933d37bc484991b961732988e728285c597f9ea59ff35a2862682f66f3831341bf0459898402da74609f8eee7851b1cef
+SHA512 (Graphics-TIFF-5.tar.gz) = 
8da80c92788c6ad863d55fc7fc6cf7c7ea1c99c87cb070f1d0c622dee2148f1590aececa2d1328630317c399cb6d7654db013239d718a17bb084b9e89ea884b8
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Graphics-TIFF.git/commit/?h=master&id=299174f3313f7e51e5eaf1de77319b32d5810959
_______________________________________________
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