From e4c8c938734fa919e559ebb57260ea1021aa1949 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sat, 28 Jun 2008 19:45:42 +0000 Subject: [PATCH] - update to 0.13 - switch to Module::Install invocations, rather than Module::Build --- .cvsignore | 2 +- perl-MooseX-Getopt.spec | 28 ++++++++++++++++++---------- sources | 2 +- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.cvsignore b/.cvsignore index a794a4f..6f0d381 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -MooseX-Getopt-0.05.tar.gz +MooseX-Getopt-0.13.tar.gz diff --git a/perl-MooseX-Getopt.spec b/perl-MooseX-Getopt.spec index f9fe39d..8bb9ab6 100644 --- a/perl-MooseX-Getopt.spec +++ b/perl-MooseX-Getopt.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-Getopt -Version: 0.05 -Release: 2%{?dist} +Version: 0.13 +Release: 1%{?dist} Summary: Moose role for processing command line options License: GPL+ or Artistic Group: Development/Libraries @@ -10,11 +10,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -BuildRequires: perl(Module::Build) -BuildRequires: perl(Moose) >= 0.19 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Getopt::Long::Descriptive) +BuildRequires: perl(Getopt::Long) >= 2.37 +BuildRequires: perl(Moose) >= 0.43 # tests... -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Scalar::Util) @@ -30,19 +32,21 @@ objects using parameters passed in from the command line. %setup -q -n MooseX-Getopt-%{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 PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check -./Build test +make test %clean rm -rf %{buildroot} @@ -54,6 +58,10 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Sat Jun 28 2008 Chris Weyl 0.13-1 +- update to 0.13 +- switch to Module::Install invocations, rather than Module::Build + * Wed Mar 05 2008 Tom "spot" Callaway 0.05-2 - rebuild for new perl diff --git a/sources b/sources index a4de8c7..deb2532 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -57f68a34f9e5fc60062ae108513a53b1 MooseX-Getopt-0.05.tar.gz +9bf0e8de583eb5635540c16c37b4ec5b MooseX-Getopt-0.13.tar.gz