|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
Name: perl-MooseX-Types-Common
|
|
|
|
|
Summary: A library of commonly used type constraints
|
|
|
|
|
Version: 0.001002
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.001003
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/MooseX-Types-Common-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AR/ARCANEZ/MooseX-Types-Common-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/MooseX-Types-Common
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Capture::Tiny)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(Moose) >= 0.39
|
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.04
|
|
|
|
@ -36,8 +36,6 @@ by default.
|
|
|
|
|
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 ';'
|
|
|
|
@ -47,16 +45,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README Changes
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Oct 01 2011 Iain Arnell <iarnell@gmail.com> 0.001003-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
- BR Capture::Tiny for improved test coverage
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.001002-5
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|