|
|
|
@ -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 <cweyl@alumni.drew.edu> 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 <skasal@redhat.com> - 0.22-2
|
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
|
|