[perl-Cache] Update to 2.05

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

 



commit 44cd8124d892966ebb82e8d5df3cdf419465d072
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Sun Sep 8 09:18:29 2013 +0200

    Update to 2.05

 .gitignore      |    1 +
 perl-Cache.spec |   23 +++++++++++++++--------
 sources         |    2 +-
 3 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 94a63d2..a11615f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Cache-2.04.tar.gz
+/Cache-2.05.tar.gz
diff --git a/perl-Cache.spec b/perl-Cache.spec
index 9e84562..050bd60 100644
--- a/perl-Cache.spec
+++ b/perl-Cache.spec
@@ -1,12 +1,12 @@
 Name:           perl-Cache
-Version:        2.04
-Release:        17%{?dist}
+Version:        2.05
+Release:        1%{?dist}
 Summary:        The Cache interface
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Cache
-Source0:        http://search.cpan.org/CPAN/authors/id/C/CL/CLEISHMAN/Cache-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Cache-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  perl
@@ -29,10 +29,12 @@ BuildRequires:  perl(Heap::Fibonacci) >= 0.01
 BuildRequires:  perl(IO::File) >= 1.08
 BuildRequires:  perl(IO::Handle) >= 1.21
 BuildRequires:  perl(IO::String) >= 1.02
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Storable) >= 1
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Symbol) >= 1.02
 BuildRequires:  perl(Test::More) >= 0.45
+BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Tie::Hash)
 BuildRequires:  perl(vars)
 BuildRequires:  perl(warnings)
@@ -68,19 +70,19 @@ to ensure that it operates as required by the Cache specification.
 %setup -q -n Cache-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
 %check
-make test
+./Build test
 
 
 %files
@@ -99,6 +101,11 @@ make test
 
 
 %changelog
+* Sun Sep 08 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 2.05-1
+- Update to 2.05
+- Convert build-system to Module::Build
+- Add perl(Test::Pod) as a BR to run more tests
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.04-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index d69d64a..704b3f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c64b8dd8f04e101bd20cde0c7c2e3d17  Cache-2.04.tar.gz
+990d1e9ad09008a03b7b36137a86766c  Cache-2.05.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