Name: perl-Version-Requirements Version: 0.100660 Release: 1%{?dist} Summary: Set of version requirements for a CPAN dist License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Version-Requirements/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Version-Requirements-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # tests BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(version) >= 0.77 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description A Version::Requirements object models a set of version constraints like those specified in the META.yml or META.json files in CPAN distributions. It can be built up by adding more and more constraints, and it will reduce them to the simplest representation. %prep %setup -q -n Version-Requirements-%{version} %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 * Fri Apr 02 2010 Iain Arnell 0.100660-1 - Specfile autogenerated by cpanspec 1.78. - use perl_default_filter and DESTDIR