- update to 0.13

- switch to Module::Install invocations, rather than Module::Build
epel9
Chris Weyl 17 years ago
parent 6c73f08d53
commit e4c8c93873

@ -1 +1 @@
MooseX-Getopt-0.05.tar.gz MooseX-Getopt-0.13.tar.gz

@ -1,6 +1,6 @@
Name: perl-MooseX-Getopt Name: perl-MooseX-Getopt
Version: 0.05 Version: 0.13
Release: 2%{?dist} Release: 1%{?dist}
Summary: Moose role for processing command line options Summary: Moose role for processing command line options
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -10,11 +10,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Module::Build) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Moose) >= 0.19 BuildRequires: perl(Getopt::Long::Descriptive)
BuildRequires: perl(Getopt::Long) >= 2.37
BuildRequires: perl(Moose) >= 0.43
# tests... # tests...
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More) >= 0.62
BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Test::Exception) >= 0.21
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
@ -30,19 +32,21 @@ objects using parameters passed in from the command line.
%setup -q -n MooseX-Getopt-%{version} %setup -q -n MooseX-Getopt-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0 make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
./Build test make test
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -54,6 +58,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jun 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
- update to 0.13
- switch to Module::Install invocations, rather than Module::Build
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2 * Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
- rebuild for new perl - rebuild for new perl

@ -1 +1 @@
57f68a34f9e5fc60062ae108513a53b1 MooseX-Getopt-0.05.tar.gz 9bf0e8de583eb5635540c16c37b4ec5b MooseX-Getopt-0.13.tar.gz

Loading…
Cancel
Save