From 0b107aadb2d641ab70a17780389b3c401c3cee9e Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Fri, 5 Feb 2010 22:36:29 +0000 Subject: [PATCH] - add perl_default_filter - PERL_INSTALL_ROOT => DESTDIR in install - auto-update to 0.26 (by cpan-spec-update 0.01) --- .cvsignore | 2 +- perl-MooseX-Getopt.spec | 27 ++++++++++++--------------- sources | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.cvsignore b/.cvsignore index 1081697..e5b9ead 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -MooseX-Getopt-0.22.tar.gz +MooseX-Getopt-0.26.tar.gz diff --git a/perl-MooseX-Getopt.spec b/perl-MooseX-Getopt.spec index 3ca4df6..4d18f20 100644 --- a/perl-MooseX-Getopt.spec +++ b/perl-MooseX-Getopt.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-Getopt -Version: 0.22 -Release: 2%{?dist} +Version: 0.26 +Release: 1%{?dist} Summary: Moose role for processing command line options License: GPL+ or Artistic Group: Development/Libraries @@ -12,26 +12,20 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(Getopt::Long::Descriptive) >= 0.077 -# 2.35 is what we have in F-8 perl -- tests all pass BuildRequires: perl(Getopt::Long) >= 2.37 BuildRequires: perl(Moose) >= 0.56 - -# tests... BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Moose) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) -# optional tests -BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) - - -### auto-added reqs! Requires: perl(Getopt::Long) >= 2.37 Requires: perl(Getopt::Long::Descriptive) >= 0.077 Requires: perl(Moose) >= 0.56 -### auto-added brs! -BuildRequires: perl(Test::Moose) +%{?perl_default_filter} %description This is a Moose role which provides an alternate constructor for creating @@ -40,8 +34,6 @@ objects using parameters passed in from the command line. %prep %setup -q -n MooseX-Getopt-%{version} -perl -pi -e 's/2.37/2.35/' Makefile.PL - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -49,7 +41,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' @@ -69,6 +61,11 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Fri Feb 05 2010 Chris Weyl 0.26-1 +- add perl_default_filter +- PERL_INSTALL_ROOT => DESTDIR in install +- auto-update to 0.26 (by cpan-spec-update 0.01) + * Fri Dec 4 2009 Stepan Kasal - 0.22-2 - rebuild against perl 5.10.1 diff --git a/sources b/sources index c33b903..64d0084 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2900e4b9ad701aac0dad289a3a04d5f2 MooseX-Getopt-0.22.tar.gz +e8b215f63752d41be3d025130f4fa9b9 MooseX-Getopt-0.26.tar.gz