commit 70cce1ddd65ae0357b0cc347e85d8e25f17fc0e2 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Feb 21 15:14:42 2013 +0000 Update to 2.05 - New upstream release 2.05 - Require perl 5.5 - Test for pod - Fix line endings for documentation - BR: perl(Carp), perl(Data::Dumper) ≥ 2.08 and perl(Storable) - Don't use macros for commands - Don't need to remove empty directories from the buildroot - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit .gitignore | 3 +-- perl-MLDBM.spec | 42 ++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 30 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index efe2de9..dd35c16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -MLDBM-2.01.tar.gz -/MLDBM-2.04.tar.gz +/MLDBM-[0-9.]*.tar.gz diff --git a/perl-MLDBM.spec b/perl-MLDBM.spec index 01ac4fb..4f30252 100644 --- a/perl-MLDBM.spec +++ b/perl-MLDBM.spec @@ -1,17 +1,20 @@ Name: perl-MLDBM -Version: 2.04 -Release: 8%{?dist} +Version: 2.05 +Release: 1%{?dist} Summary: Store multi-level hash structure in single level tied hash License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MLDBM/ Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/MLDBM-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) >= 2.08 BuildRequires: perl(FreezeThaw) BuildRequires: perl(Module::Build) +BuildRequires: perl(Storable) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module can serve as a transparent interface to any TIEHASH package @@ -22,17 +25,17 @@ data within DBM databases. %prep %setup -q -n MLDBM-%{version} +# Fix line endings for documentation +sed -i -e 's/\r$//' README Changes + %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT - ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check ./Build test @@ -41,12 +44,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/MLDBM/ +%{perl_vendorlib}/MLDBM.pm +%{_mandir}/man3/MLDBM.3pm* %changelog +* Thu Feb 21 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 2.05-1 +- Update to 2.05 + - Require perl 5.5 + - Test for pod +- Fix line endings for documentation +- BR: perl(Carp), perl(Data::Dumper) ≥ 2.08 and perl(Storable) +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.04-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -66,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.04-2 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Tue Dec 14 2010 Steven Pritchard <steve@xxxxxxxxx> 2.04-1 - Update to 2.04. @@ -105,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT * Fri Dec 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.01-3 - Dist tag. -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2 +* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2 - rebuilt * Sun Oct 31 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.01-0.fdr.1 diff --git a/sources b/sources index 6426bfb..d70b16c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b2793c419136fc11082e1ed1b564aeff MLDBM-2.04.tar.gz +9b7ec37bfc36b0e83db9323be92beb50 MLDBM-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