From 6f74f47ebbad37893ed6cdb69eba02764d61eaa2 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Mon, 28 Jan 2008 20:58:05 +0000 Subject: [PATCH] Update to 2.13. Use fixperms macro instead of our own chmod incantation. Reformat to match cpanspec output. BR ExtUtils::MakeMaker. --- .cvsignore | 2 +- perl-Module-CoreList.spec | 41 ++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/.cvsignore b/.cvsignore index ba943d8..d847ada 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Module-CoreList-2.11.tar.gz +Module-CoreList-2.13.tar.gz diff --git a/perl-Module-CoreList.spec b/perl-Module-CoreList.spec index df097e5..fe47fec 100644 --- a/perl-Module-CoreList.spec +++ b/perl-Module-CoreList.spec @@ -1,63 +1,64 @@ Name: perl-Module-CoreList -Version: 2.11 -Release: 2%{?dist} +Version: 2.13 +Release: 1%{?dist} Summary: Perl core modules indexed by perl versions - -Group: Development/Libraries License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/Module-CoreList/ Source0: http://www.cpan.org/authors/id/R/RG/RGARCIA/Module-CoreList-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(version) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(version) %description Module::CoreList contains the hash of hashes %Module::CoreList::version, -this is keyed on perl version as indicated in $]. The second level hash -is module => version pairs. - +that is keyed on perl version as indicated in $]. The second level hash is +module => version pairs. %prep %setup -q -n Module-CoreList-%{version} %{__perl} -pi -e 's{^#!/usr/local/perl5.6.1/bin/perl\b}{#!%{__perl}}' \ identify-dependencies - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %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 -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $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 -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* %check make test - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc Changes README identify-dependencies %{_bindir}/* -%{perl_vendorlib}/Module/ -%{_mandir}/man1/*.1* -%{_mandir}/man3/*.3pm* - +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* %changelog +* Mon Jan 28 2008 Steven Pritchard 2.13-1 +- Update to 2.13. +- Use fixperms macro instead of our own chmod incantation. +- Reformat to match cpanspec output. +- BR ExtUtils::MakeMaker. + * Tue Jan 15 2008 Tom "spot" Callaway - 2.11-2 - license fix diff --git a/sources b/sources index 8c55b45..1d0efd4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -58d2d31cce9bc7aef7adf0ac26ed8a7f Module-CoreList-2.11.tar.gz +03638d8f941fd0f4b33c9827c084c5f3 Module-CoreList-2.13.tar.gz