[perl-Algorithm-C3] Update to 0.09

Paul Howarth pghmcfc at fedoraproject.org
Mon Mar 3 10:40:01 UTC 2014


commit 2ea45354a377d97299b3e472cb459772f521b759
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Mar 3 10:35:37 2014 +0000

    Update to 0.09
    
    - New upstream release 0.09
      - Convert to use ExtUtils::MakeMaker using distar
      - Include repo and bugtracker metadata
    - This release by HAARG -> update source URL
    - Switch to ExtUtils::MakeMaker flow

 .gitignore             |    2 +-
 perl-Algorithm-C3.spec |   30 ++++++++++++++++++------------
 sources                |    2 +-
 3 files changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2f2b0b..1a9867a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Algorithm-C3-0.08.tar.gz
+/Algorithm-C3-[0-9.]*.tar.gz
diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec
index 7cd631a..53e452d 100644
--- a/perl-Algorithm-C3.spec
+++ b/perl-Algorithm-C3.spec
@@ -1,21 +1,21 @@
 Name:		perl-Algorithm-C3
-Version:	0.08
-Release:	14%{?dist}
+Version:	0.09
+Release:	1%{?dist}
 Summary:	Module for merging hierarchies using the C3 algorithm
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Algorithm-C3/
-Source0:	http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Algorithm-C3-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(Module::Build)
+BuildRequires:	perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires:	perl(Carp) >= 0.01
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
 # Test
 BuildRequires:	perl(Test::More) >= 0.47
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -29,28 +29,34 @@ job of preserving local precedence orderings.
 %setup -q -n Algorithm-C3-%{version}
 
 %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
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README t/
 %{perl_vendorlib}/Algorithm/
 %{_mandir}/man3/Algorithm::C3.3pm*
 
 %changelog
+* Mon Mar  3 2014 Paul Howarth <paul at city-fan.org> - 0.09-1
+- Update to 0.09
+  - Convert to use ExtUtils::MakeMaker using distar
+  - Include repo and bugtracker metadata
+- This release by HAARG -> update source URL
+- Switch to ExtUtils::MakeMaker flow
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index dbc0d5b..7274c1c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-07afb08682125c875b80c315d99f6f95  Algorithm-C3-0.08.tar.gz
+0235e64330790b4c5d59bf76d03f8c90  Algorithm-C3-0.09.tar.gz



More information about the perl-devel mailing list