[perl-Const-Fast] Update to 0.014

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jun 2 13:09:11 UTC 2013


commit a3b98dd6916f87cf1a1ae3d12b5876515765440a
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Jun 2 15:08:49 2013 +0200

    Update to 0.014

 .gitignore           |    1 +
 perl-Const-Fast.spec |   26 +++++++++++++++++---------
 sources              |    2 +-
 3 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0b582e6..a8354de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /Const-Fast-0.006.tar.gz
 /Const-Fast-0.011.tar.gz
 /Const-Fast-0.013.tar.gz
+/Const-Fast-0.014.tar.gz
diff --git a/perl-Const-Fast.spec b/perl-Const-Fast.spec
index 8024fc1..41c503c 100644
--- a/perl-Const-Fast.spec
+++ b/perl-Const-Fast.spec
@@ -1,15 +1,16 @@
 Name:           perl-Const-Fast
-Version:        0.013
-Release:        2%{?dist}
+Version:        0.014
+Release:        1%{?dist}
 Summary:        Facility for creating read-only scalars, arrays, and hashes
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/Const-Fast/
 Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/Const-Fast-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
 # Run-time
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Storable)
 BuildRequires:  perl(Sub::Exporter)
@@ -17,6 +18,7 @@ BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Sub::Exporter::Progressive)
 # Optional tests
 BuildRequires:  perl(Test::Script) >= 1.05
@@ -37,19 +39,20 @@ read-only. Arrays and hashes will be made deeply read-only.
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs vendor
+./Build
 
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+./Build install --destdir $RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 
 %check
-make test
+./Build test
 
 
 %files
@@ -59,6 +62,11 @@ make test
 
 
 %changelog
+* Sun Jun 02 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.014-1
+- Update to 0.014
+- Drop the Group declaration
+- Switch to Module::Build::Tiny as building mecanism
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.013-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 257ac66..149cb9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-702cdaa477285fb3c54a60897d9643c1  Const-Fast-0.013.tar.gz
+e7e73b03102c4ac27053b25362349a82  Const-Fast-0.014.tar.gz


More information about the scm-commits mailing list