|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-MooseX-Role-Parameterized
|
|
|
|
|
Summary: Make your roles flexible through parameterization
|
|
|
|
|
Version: 0.18
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.25
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/MooseX-Role-Parameterized-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/MooseX-Role-Parameterized
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -14,9 +13,9 @@ BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(Moose) >= 0.78
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.27
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::Moose)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
|
|
|
|
|
|
Requires: perl(Moose) >= 0.78
|
|
|
|
|
|
|
|
|
@ -51,8 +50,6 @@ Parameterized roles offer exactly this solution.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
@ -62,9 +59,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes
|
|
|
|
@ -72,6 +66,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 0.25-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|