commit 6823491fc52c52cd1ff5e2257e46079e4428f37d
Author: Steven Pritchard <steven.pritch...@gmail.com>
Date:   Tue Dec 14 12:37:31 2010 -0600

    Update to 2.04.
    Fix find option order.
    Use fixperms macro instead of our own chmod incantation.
    Update Source0 URL.
    Minor cosmetic changes to resemble cpanspec output.
    BR Module::Build and build with that.
    BR Test::More.

 .gitignore      |    1 +
 perl-MLDBM.spec |   52 +++++++++++++++++++++++++++-------------------------
 sources         |    2 +-
 3 files changed, 29 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e688f60..efe2de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 MLDBM-2.01.tar.gz
+/MLDBM-2.04.tar.gz
diff --git a/perl-MLDBM.spec b/perl-MLDBM.spec
index 4dee830..149fd03 100644
--- a/perl-MLDBM.spec
+++ b/perl-MLDBM.spec
@@ -1,59 +1,61 @@
 Name:           perl-MLDBM
-Version:        2.01
-Release:        10%{?dist}
+Version:        2.04
+Release:        1%{?dist}
 Summary:        Store multi-level hash structure in single level tied hash
-
-Group:          Development/Libraries
 License:        GPL+ or Artistic
+Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MLDBM/
-Source0:        
http://www.cpan.org/authors/id/C/CH/CHAMAS/MLDBM-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/C/CH/CHORNY/MLDBM-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(FreezeThaw)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
-This module can serve as a transparent interface to any TIEHASH package that is
-required to store arbitrary perl data, including nested references.  Thus, this
-module can be used for storing references and other arbitrary data within DBM
-databases.
-
+This module can serve as a transparent interface to any TIEHASH package
+that is required to store arbitrary perl data, including nested references.
+Thus, this module can be used for storing references and other arbitrary
+data within DBM databases.
 
 %prep
 %setup -q -n MLDBM-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
 
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-%check
-make test
+%{_fixperms} $RPM_BUILD_ROOT/*
 
+%check
+./Build test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/*
 
 %changelog
+* Tue Dec 14 2010 Steven Pritchard <st...@kspei.com> 2.04-1
+- Update to 2.04.
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Update Source0 URL.
+- Minor cosmetic changes to resemble cpanspec output.
+- BR Module::Build and build with that.
+- BR Test::More.
+
 * Mon May 03 2010 Marcela Maslanova <mmasl...@redhat.com> - 2.01-10
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index 6cbedf4..6426bfb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-99550ae2cffbc0bb3eb0358631077c10  MLDBM-2.01.tar.gz
+b2793c419136fc11082e1ed1b564aeff  MLDBM-2.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to