From 3f425658fa186c5d4a0ac5471e9d3093677e7946 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Thu, 22 Jun 2017 09:04:31 +0100
Subject: Update to 0.20

- New upstream release 0.20
  - Fix test skip count on Win32 (CPAN RT#76335)
- Drop UTF8 docs patch; issue fixed upstream
---
 .rpmlint                    |  4 ++++
 PerlIO-gzip-0.18-utf8.patch |  8 --------
 perl-PerlIO-gzip.spec       | 23 ++++++++++++++---------
 sources                     |  2 +-
 4 files changed, 19 insertions(+), 18 deletions(-)
 create mode 100644 .rpmlint
 delete mode 100644 PerlIO-gzip-0.18-utf8.patch

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..cce3935
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,4 @@
+from Config import *
+
+addFilter("spelling-error Summary\(en_US\) gunzip -> ")
+addFilter("spelling-error %description -l en_US Zlib -> ")
diff --git a/PerlIO-gzip-0.18-utf8.patch b/PerlIO-gzip-0.18-utf8.patch
deleted file mode 100644
index 7e5e906..0000000
--- a/PerlIO-gzip-0.18-utf8.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- README
-+++ README
-@@ -58,4 +58,4 @@
- Public License or the Artistic License, as specified in perl's README
- file.
- 
--Copyright � 2001-2004, 2006 Nicholas Clark
-+Copyright © 2001-2004, 2006 Nicholas Clark
diff --git a/perl-PerlIO-gzip.spec b/perl-PerlIO-gzip.spec
index b5ec0b3..71be42a 100644
--- a/perl-PerlIO-gzip.spec
+++ b/perl-PerlIO-gzip.spec
@@ -1,11 +1,10 @@
 Name:           perl-PerlIO-gzip
-Version:        0.19
-Release:        8%{?dist}
+Version:        0.20
+Release:        1%{?dist}
 Summary:        Perl extension to provide a PerlIO layer to gzip/gunzip
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/PerlIO-gzip/
 Source0:        
http://www.cpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-%{version}.tar.gz
-Patch1:         PerlIO-gzip-0.18-utf8.patch
 # Build
 BuildRequires:  coreutils
 BuildRequires:  findutils
@@ -42,17 +41,18 @@ layer.
 %prep
 %setup -q -n PerlIO-gzip-%{version}
 
-# Re-code docs as UTF8
-%patch1
-
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
+perl Makefile.PL \
+  INSTALLDIRS=vendor \
+  OPTIMIZE="%{optflags}" \
+  NO_PACKLIST=1 \
+  NO_PERLLOCAL=1
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name '*.bs' -empty -delete
-%{_fixperms} %{buildroot}
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
@@ -64,6 +64,11 @@ make test
 %{_mandir}/man3/PerlIO::gzip.3*
 
 %changelog
+* Thu Jun 22 2017 Paul Howarth <[email protected]> - 0.20-1
+- Update to 0.20
+  - Fix test skip count on Win32 (CPAN RT#76335)
+- Drop UTF8 docs patch; issue fixed upstream
+
 * Sun Jun 04 2017 Jitka Plesnikova <[email protected]> - 0.19-8
 - Perl 5.26 rebuild
 
diff --git a/sources b/sources
index fca6052..16fdefe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dbcfc1450f6b593b65048b8ced061c98  PerlIO-gzip-0.19.tar.gz
+SHA512 (PerlIO-gzip-0.20.tar.gz) = 
b24e8fa99cbcbaf07feabfc09cefc55a10c1dce59b495b59343ff5217536f7108c92f462751e70242e6567be32e69a0cc88a2e66325e926174a64042d4b87966
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-PerlIO-gzip.git/commit/?h=master&id=3f425658fa186c5d4a0ac5471e9d3093677e7946
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to