[perl-Archive-Any] Update to 0.0940

Paul Howarth pghmcfc at fedoraproject.org
Fri Oct 18 16:40:37 UTC 2013


commit b6557a2df9f4163a6ef96b2bde2e50a2a6e553c4
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Oct 18 17:39:55 2013 +0100

    Update to 0.0940
    
    - New upstream release 0.0940
      - Adds x-bzip2 (CPAN RT#67738)
      - Migrated to Dist::Zilla
    - Package new CONTRIBUTORS and LICENSE files
    - This release by OALDERS -> update source URL
    - Add patch to fix module version number
    - Drop now-redundant build requirements
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot

 Archive-Any-0.0940-version.patch |   11 +++++++++++
 perl-Archive-Any.spec            |   33 ++++++++++++++++++++++++---------
 sources                          |    2 +-
 3 files changed, 36 insertions(+), 10 deletions(-)
---
diff --git a/Archive-Any-0.0940-version.patch b/Archive-Any-0.0940-version.patch
new file mode 100644
index 0000000..cf03b0c
--- /dev/null
+++ b/Archive-Any-0.0940-version.patch
@@ -0,0 +1,11 @@
+--- lib/Archive/Any.pm
++++ lib/Archive/Any.pm
+@@ -3,7 +3,7 @@
+ use warnings;
+ 
+ use vars qw($VERSION);
+-$VERSION = 0.0932;
++$VERSION = 0.0940;
+ 
+ use Archive::Any::Plugin;
+ use File::Spec::Functions qw( rel2abs splitdir );
diff --git a/perl-Archive-Any.spec b/perl-Archive-Any.spec
index 5862b12..345f48e 100644
--- a/perl-Archive-Any.spec
+++ b/perl-Archive-Any.spec
@@ -1,15 +1,16 @@
 Name:		perl-Archive-Any
-Version:	0.0932
-Release:	14%{?dist}
+Version:	0.0940
+Release:	1%{?dist}
 Summary:	Single interface to deal with file archives
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Archive-Any/
-Source0:	http://search.cpan.org/CPAN/authors/id/C/CM/CMOORE/Archive-Any-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/Archive-Any-%{version}.tar.gz
+Patch1:		Archive-Any-0.0940-version.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(Module::Build)
+BuildRequires:	perl(Module::Build) > 0.36
 # Module
 BuildRequires:	perl(Archive::Tar) >= 0.22
 BuildRequires:	perl(Archive::Zip) >= 1.07
@@ -18,10 +19,10 @@ BuildRequires:	perl(File::MMagic) >= 1.27
 BuildRequires:	perl(File::Spec::Functions)
 BuildRequires:	perl(MIME::Types) >= 1.16
 BuildRequires:	perl(Module::Find) >= 0.05
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
 # Test suite
 BuildRequires:	perl(Test::More) >= 0.4
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::Warn)
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -33,6 +34,9 @@ formats. Tarballs, zip files, etc.
 %prep
 %setup -q -n Archive-Any-%{version}
 
+# Upstream forgot to change a version number
+%patch1
+
 %build
 perl Build.PL installdirs=vendor
 ./Build
@@ -40,7 +44,6 @@ perl Build.PL installdirs=vendor
 %install
 rm -rf %{buildroot}
 ./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -50,15 +53,27 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README t/
+%doc Changes CONTRIBUTORS LICENSE README t/
 %{perl_vendorlib}/Archive/
 %{_mandir}/man3/Archive::Any.3pm*
 %{_mandir}/man3/Archive::Any::Plugin.3pm*
 %{_mandir}/man3/Archive::Any::Plugin::Tar.3pm*
 %{_mandir}/man3/Archive::Any::Plugin::Zip.3pm*
+%{_mandir}/man3/Archive::Any::Tar.3pm*
+%{_mandir}/man3/Archive::Any::Zip.3pm*
 
 %changelog
+* Fri Oct 18 2013 Paul Howarth <paul at city-fan.org> - 0.0940-1
+- Update to 0.0940
+  - Adds x-bzip2 (CPAN RT#67738)
+  - Migrated to Dist::Zilla
+- Package new CONTRIBUTORS and LICENSE files
+- This release by OALDERS -> update source URL
+- Add patch to fix module version number
+- Drop now-redundant build requirements
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0932-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index a1ae4a4..abf24d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aaab5cf41f2efe428b65fbc352ee314e  Archive-Any-0.0932.tar.gz
+7ba294f0601fe2965355596e3a40ed87  Archive-Any-0.0940.tar.gz


More information about the scm-commits mailing list