|
|
|
@ -1,21 +1,22 @@
|
|
|
|
|
Name: perl-MooseX-Types-Path-Class
|
|
|
|
|
Summary: A Path::Class type library for Moose
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 0.07
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/T/TH/THEPLER/MooseX-Types-Path-Class-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Types-Path-Class-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/MooseX-Types-Path-Class
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Class::MOP)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Module::Build::Tiny)
|
|
|
|
|
BuildRequires: perl(Moose) >= 0.39
|
|
|
|
|
BuildRequires: perl(MooseX::Getopt) >= 0.05
|
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.04
|
|
|
|
|
BuildRequires: perl(Path::Class) >= 0.16
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Pod::Coverage)
|
|
|
|
|
|
|
|
|
|
Requires: perl(Class::MOP)
|
|
|
|
|
Requires: perl(Moose) >= 0.39
|
|
|
|
@ -43,25 +44,26 @@ for both Path::Class::Dir and Path::Class::File.
|
|
|
|
|
sed -i '1s:^#!.*perl:#!%{__perl}:' t/*.t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%{__perl} Build.PL --installdirs=vendor
|
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
%{perl_vendorlib}/MooseX*
|
|
|
|
|
%{_mandir}/man3/MooseX*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 12 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.07-1
|
|
|
|
|
- Update to 0.07
|
|
|
|
|
- Clean up spec file
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|