commit 94208e4a6b7838d3b8caaa580da8b9b727557228
Author: Paul Howarth <p...@city-fan.org>
Date:   Tue Jun 11 20:53:56 2013 +0100

    Update to 0.05
    
    - New upstream release 0.05
      - Use MakeMaker
    - Revert to ExtUtils::MakeMaker flow
    - Drop Test::Pod version requirement for EPEL build compatibility

 perl-Data-Section-Simple.spec |   25 +++++++++++++++----------
 sources                       |    2 +-
 2 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/perl-Data-Section-Simple.spec b/perl-Data-Section-Simple.spec
index b16fdeb..e2b2a37 100644
--- a/perl-Data-Section-Simple.spec
+++ b/perl-Data-Section-Simple.spec
@@ -2,8 +2,8 @@
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 
0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:          perl-Data-Section-Simple
-Version:       0.04
-Release:       2%{?dist}
+Version:       0.05
+Release:       1%{?dist}
 Summary:       Read data from __DATA__
 License:       GPL+ or Artistic
 Group:         Development/Libraries
@@ -13,16 +13,14 @@ Patch1:             
Data-Section-Simple-0.04-old-Test::More.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:     noarch
 # Build
-BuildRequires: perl(Module::Build::Tiny) >= 0.020
+BuildRequires: perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires: perl(base)
 BuildRequires: perl(Exporter)
 # Test Suite
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::Temp)
 BuildRequires: perl(lib)
 BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod) >= 1.41
+BuildRequires: perl(Test::Pod)
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -39,16 +37,17 @@ section of the file.
 %endif
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-./Build install --destdir=%{buildroot} --create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}
 
 %check
-RELEASE_TESTING=1 ./Build test
+make test RELEASE_TESTING=1
 
 %clean
 rm -rf %{buildroot}
@@ -59,6 +58,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Data::Section::Simple.3pm*
 
 %changelog
+* Tue Jun 11 2013 Paul Howarth <p...@city-fan.org> - 0.05-1
+- Update to 0.05
+  - Use MakeMaker
+- Revert to ExtUtils::MakeMaker flow
+- Drop Test::Pod version requirement for EPEL build compatibility
+
 * Mon May 20 2013 Paul Howarth <p...@city-fan.org> - 0.04-2
 - Use Module::Build::Tiny's new --create_packlist option
 
diff --git a/sources b/sources
index 9084d3a..47680e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-34f06bef3ad373790dcbbdf14f7af1d0  Data-Section-Simple-0.04.tar.gz
+082979ccfb4017bc952902d129887ce9  Data-Section-Simple-0.05.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to