|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-MooseX-Getopt
|
|
|
|
|
Summary: Moose role for processing command line options
|
|
|
|
|
Version: 0.38
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Getopt-%{version}.tar.gz
|
|
|
|
@ -23,9 +23,12 @@ BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.05
|
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.21
|
|
|
|
|
|
|
|
|
|
# obsolete/provide old tests subpackage
|
|
|
|
|
# can be removed during F19 development cycle
|
|
|
|
|
Obsoletes: %{name}-tests < 0.38-3
|
|
|
|
|
Provides: %{name}-tests = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
%{?perl_default_subpackage_tests}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a Moose role which provides an alternate constructor for creating
|
|
|
|
@ -34,6 +37,9 @@ objects using parameters passed in from the command line.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n MooseX-Getopt-%{version}
|
|
|
|
|
|
|
|
|
|
# silence rpmlint warning
|
|
|
|
|
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -50,11 +56,14 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
%doc ChangeLog README t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.38-3
|
|
|
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
|
|
|
|
|
|
* Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 0.38-2
|
|
|
|
|
- rebuilt again for F17 mass rebuild
|
|
|
|
|
|
|
|
|
|