[perl-Archive-Any-Lite] Update to 0.08

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 49ba9bdaf8edf4fa4a7e9cd8802601e4fe15fd66
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Apr 18 12:23:59 2014 +0100

    Update to 0.08
    
    - New upstream release 0.08
      - Support an optional hash reference for finer extraction control
    - Add patch to build with ExtUtils::MakeMaker rather than
      ExtUtils::MakeMaker::CPANfile
    - Since we now need Archive::Tar 1.76, the package can't build for EPEL < 7
      and so support for everything older can be dropped

 Archive-Any-Lite-0.08-EU:MM.patch |   34 ++++++++++++++++++++++++++++++++++
 perl-Archive-Any-Lite.spec        |   36 +++++++++++++++++-------------------
 sources                           |    2 +-
 3 files changed, 52 insertions(+), 20 deletions(-)
---
diff --git a/Archive-Any-Lite-0.08-EU:MM.patch b/Archive-Any-Lite-0.08-EU:MM.patch
new file mode 100644
index 0000000..62c8ea0
--- /dev/null
+++ b/Archive-Any-Lite-0.08-EU:MM.patch
@@ -0,0 +1,34 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -1,6 +1,6 @@
+ use strict;
+ use warnings;
+-use ExtUtils::MakeMaker::CPANfile;
++use ExtUtils::MakeMaker 6.30;
+ 
+ my %params = (
+     NAME          => 'Archive::Any::Lite',
+@@ -8,6 +8,15 @@
+     VERSION_FROM  => 'lib/Archive/Any/Lite.pm',
+     ABSTRACT_FROM => 'lib/Archive/Any/Lite.pm',
+     LICENSE       => 'perl',
++    PREREQ_PM     => {
++        'Archive::Tar'            => '1.76',
++        'Archive::Zip'            => '0',
++        'File::Spec'              => '0',
++        'IO::Uncompress::Bunzip2' => '0',
++        'IO::Zlib'                => '0',
++        'Test::More'              => '0.47',
++        'Test::UseAllModules'     => '0.10',
++    },
+     META_MERGE => {
+        resources => {
+            repository => 'https://github.com/charsbar/archive-any-lite',
+@@ -15,4 +24,7 @@
+     }
+ );
+ 
++my $eumm = $ExtUtils::MakeMaker::VERSION;
++delete $params{LICENSE} if $eumm < 6.31;
++
+ WriteMakefile(%params);
diff --git a/perl-Archive-Any-Lite.spec b/perl-Archive-Any-Lite.spec
index cef07e2..21dce06 100644
--- a/perl-Archive-Any-Lite.spec
+++ b/perl-Archive-Any-Lite.spec
@@ -1,17 +1,16 @@
 Name:		perl-Archive-Any-Lite
-Version:	0.07
-Release:	2%{?dist}
+Version:	0.08
+Release:	1%{?dist}
 Summary:	Simple CPAN package extractor 
 License:	GPL+ or Artistic
-Group:		Development/Libraries
 URL:		https://metacpan.org/release/Archive-Any-Lite
 Source0:	http://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Archive-Any-Lite-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Patch0:		Archive-Any-Lite-0.08-EU:MM.patch
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
 # Module
-BuildRequires:	perl(Archive::Tar)
+BuildRequires:	perl(Archive::Tar) >= 1.76
 BuildRequires:	perl(Archive::Zip)
 BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(IO::Uncompress::Bunzip2)
@@ -21,15 +20,12 @@ BuildRequires:	perl(warnings)
 # Test Suite
 BuildRequires:	perl(File::Path)
 BuildRequires:	perl(File::Spec::Functions)
-BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(File::Temp) >= 0.19
 BuildRequires:	perl(FindBin)
-BuildRequires:	perl(Test::More) >= 0.47
+BuildRequires:	perl(Test::More) >= 0.82
 BuildRequires:	perl(Test::UseAllModules) >= 0.10
 # Optional Tests
-%if 0%{?fedora} > 14 || 0%{?rhel} > 5
-# Needs 0.7.6 for data structure retrieval
 BuildRequires:	perl(Parallel::ForkManager) >= 0.7.6
-%endif
 BuildRequires:	perl(Test::Pod) >= 1.18
 BuildRequires:	perl(Test::Pod::Coverage) >= 1.04
 # Runtime
@@ -47,17 +43,14 @@ check MIME types.
 %prep
 %setup -q -n Archive-Any-Lite-%{version}
 
-# Test::More->note() requires Test::More ≥ 0.82
-%if %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.82) ? 1 : 0);' 2>/dev/null || echo 0)
-sed -i -e '/ note /d' t/30_fork.t
-%endif
+# Build with ExtUtils::MakeMaker rather than ExtUtils::MakeMaker::CPANfile
+%patch0
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}
@@ -65,15 +58,20 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %check
 make test TEST_POD=1
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %doc Changes README
 %{perl_vendorlib}/Archive/
 %{_mandir}/man3/Archive::Any::Lite.3pm*
 
 %changelog
+* Fri Apr 18 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.08-1
+- Update to 0.08
+  - Support an optional hash reference for finer extraction control
+- Add patch to build with ExtUtils::MakeMaker rather than
+  ExtUtils::MakeMaker::CPANfile
+- Since we now need Archive::Tar 1.76, the package can't build for EPEL < 7
+  and so support for everything older can be dropped
+
 * Sat Aug  3 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-2
 - Sanitize for Fedora submission
 
diff --git a/sources b/sources
index f545f97..21d8add 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ef7556aab1fc789a737c27f06d9c3c2d  Archive-Any-Lite-0.07.tar.gz
+b341c3f0791d617c02b40937a7e1fcf8  Archive-Any-Lite-0.08.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux