pghmcfc pushed to perl-Mail-Mbox-MessageParser (master). "Update to 1.5102 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 10:24:14 UTC 2015


>From fa7b2dfedeaedca6960377aa87bd63a41d5f1f86 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 13 Apr 2015 11:19:25 +0100
Subject: Update to 1.5102

- New upstream release 1.5102
  - Add a version check for lzip, to make sure the .lz file can be decompressed
    properly during testing
  - Fix warning about deleting nonexistent test cache
  - Enhance "make test TEST_VERBOSE=1" to dump debug information
  - Work around a POD-stripping bug that would cause module load to fail on
    some platforms (CPAN RT#103025)
  - Fix xz and lzip test skip for when tools are not installed
  - Enable verbose testing for CPAN-testers
  - Use proper temp dir instead of t/temp
  - Consolidate issue tracking at rt.cpan.org
- License changed to GPLv2
- Remove file installed by accident (CPAN RT#103482)

diff --git a/perl-Mail-Mbox-MessageParser.spec b/perl-Mail-Mbox-MessageParser.spec
index 7e9e9eb..0ff9753 100644
--- a/perl-Mail-Mbox-MessageParser.spec
+++ b/perl-Mail-Mbox-MessageParser.spec
@@ -1,17 +1,16 @@
 Summary:	A fast and simple mbox folder reader
 Name:		perl-Mail-Mbox-MessageParser
-Version:	1.5100
+Version:	1.5102
 Release:	1%{?dist}
-License:	GPL+
+License:	GPLv2
 Group:		Development/Libraries
-Url:		http://search.cpan.org/dist/Mail-Mbox-MessageParser/
+URL:		http://search.cpan.org/dist/Mail-Mbox-MessageParser/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/Mail-Mbox-MessageParser-%{version}.tar.gz
 Source1:	perl-module-version-filter
-Patch0:		rt103025.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Module Build
-BuildRequires:	grep, gzip, bzip2, lzip, xz, /usr/bin/diff
+BuildRequires:	grep, gzip, bzip2, lzip >= 1.3, xz, /usr/bin/diff
 BuildRequires:	perl
 BuildRequires:	perl(Config)
 BuildRequires:	perl(Cwd)
@@ -20,6 +19,7 @@ BuildRequires:	perl(ExtUtils::Manifest)
 BuildRequires:	perl(Fcntl)
 BuildRequires:	perl(File::Find)
 BuildRequires:	perl(FindBin)
+BuildRequires:	perl(URI::Escape)
 BuildRequires:	perl(warnings)
 # Module Runtime
 BuildRequires:	perl(Carp)
@@ -31,7 +31,7 @@ BuildRequires:	perl(strict)
 BuildRequires:	perl(vars)
 # Test Suite
 BuildRequires:	perl(Exporter)
-BuildRequires:	perl(File::Path)
+BuildRequires:	perl(File::Path) >= 2.08
 BuildRequires:	perl(File::Spec::Functions)
 BuildRequires:	perl(FileHandle)
 BuildRequires:	perl(lib)
@@ -41,7 +41,7 @@ BuildRequires:	perl(Text::Diff)
 BuildRequires:	perl(Test::Pod) >= 1.00
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-Requires:	grep, gzip, bzip2, lzip, xz, /usr/bin/diff
+Requires:	grep, gzip, bzip2, lzip >= 1.3, xz, /usr/bin/diff
 Requires:	perl(Storable)
 
 %description
@@ -52,9 +52,6 @@ information, GNU grep, or highly optimized Perl.
 %prep
 %setup -q -n Mail-Mbox-MessageParser-%{version}
 
-# Fix compile failure (CPAN RT#103025)
-%patch0
-
 # Auto provides aren't clever enough for what Mail::Mbox::MessageParser does
 %if 0%{?__perllib_provides:1}
 %global provfilt /bin/sh -c "%{__perllib_provides} | perl -n -s %{SOURCE1} -lib=%{_builddir}/%{buildsubdir}/lib"
@@ -81,6 +78,9 @@ make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
+# Remove file installed by accident (CPAN RT#103482)
+rm %{buildroot}%{perl_vendorlib}/Module/Install/PRIVATE/Add_Test_Target.pm
+
 %check
 make test
 
@@ -93,7 +93,7 @@ rm -rf %{buildroot}
 %else
 %doc LICENSE
 %endif
-%doc README CHANGES anonymize_mailbox
+%doc anonymize_mailbox CHANGES README TODO
 %{perl_vendorlib}/Mail/
 %{_mandir}/man3/Mail::Mbox::MessageParser.3*
 %{_mandir}/man3/Mail::Mbox::MessageParser::Cache.3*
@@ -102,6 +102,21 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Mail::Mbox::MessageParser::Perl.3*
 
 %changelog
+* Mon Apr 13 2015 Paul Howarth <paul at city-fan.org> - 1.5102-1
+- Update to 1.5102
+  - Add a version check for lzip, to make sure the .lz file can be decompressed
+    properly during testing
+  - Fix warning about deleting nonexistent test cache
+  - Enhance "make test TEST_VERBOSE=1" to dump debug information
+  - Work around a POD-stripping bug that would cause module load to fail on
+    some platforms (CPAN RT#103025)
+  - Fix xz and lzip test skip for when tools are not installed
+  - Enable verbose testing for CPAN-testers
+  - Use proper temp dir instead of t/temp
+  - Consolidate issue tracking at rt.cpan.org
+- License changed to GPLv2
+- Remove file installed by accident (CPAN RT#103482)
+
 * Mon Mar 23 2015 Paul Howarth <paul at city-fan.org> - 1.5100-1
 - Update to 1.5100
   - Moved code to github
diff --git a/rt103025.patch b/rt103025.patch
deleted file mode 100644
index 77bd12c..0000000
--- a/rt103025.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- inc/Sort/Versions.pm
-+++ inc/Sort/Versions.pm
-@@ -57,8 +57,6 @@
-     return versioncmp($$caller_a, $$caller_b);
- }
- 
--=encoding utf-8
--
- #line 159
- 
- 1;
diff --git a/sources b/sources
index dc42e5c..0e9c4ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ac7dc33e092b12fe68747ae450e0bdfe  Mail-Mbox-MessageParser-1.5100.tar.gz
+9b24c55df07a2ce8a200b85b73d51649  Mail-Mbox-MessageParser-1.5102.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Mail-Mbox-MessageParser.git/commit/?h=master&id=fa7b2dfedeaedca6960377aa87bd63a41d5f1f86


More information about the scm-commits mailing list