Name: perl-Config-MVP Version: 0.093350 Release: 1%{?dist} Summary: Multivalue-property package-oriented configuration License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Config-MVP/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Config-MVP-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Pluggable::Object) BuildRequires: perl(Moose) BuildRequires: perl(Tie::IxHash) # Tests BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) # Failing Tests # BuildRequires: perl(Pod::Coverage::TrustPod) # BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description MVP is a mechanism for loading configuration (or other information) for libraries. It doesn't read a file or a database. It's a helper for things that do. %prep %setup -q -n Config-MVP-%{version} # failing test rm t/release-pod-coverage.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check RELEASE_TESTING=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Feb 18 2010 Iain Arnell 0.093350-1 - Specfile autogenerated by cpanspec 1.78. - Tweak for tests - perl_default_filter