diff --git a/.perl-CPAN-Meta-Requirements.metadata b/.perl-CPAN-Meta-Requirements.metadata new file mode 100644 index 0000000..e5fda99 --- /dev/null +++ b/.perl-CPAN-Meta-Requirements.metadata @@ -0,0 +1 @@ +6587695c2dfb2ec2266880075abfa70c0c3dbdb1 SOURCES/CPAN-Meta-Requirements-2.122.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-CPAN-Meta-Requirements.spec b/SPECS/perl-CPAN-Meta-Requirements.spec new file mode 100644 index 0000000..00be2f0 --- /dev/null +++ b/SPECS/perl-CPAN-Meta-Requirements.spec @@ -0,0 +1,103 @@ +Name: perl-CPAN-Meta-Requirements +Version: 2.122 +Release: 6%{?dist} +Summary: Set of version requirements for a CPAN dist +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CPAN-Meta-Requirements/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::More) +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Script) +%endif +BuildRequires: perl(version) >= 0.77 +# for author/release tests +%if !%{defined perl_bootstrap} && ! ( 0%{?rhel} ) +BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire) +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(Pod::Wordlist::hanekomu) +BuildRequires: perl(Test::CPAN::Meta) +BuildRequires: perl(Test::Perl::Critic) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Portability::Files) +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Test::Spelling) aspell-en +BuildRequires: perl(Test::Version) +%endif + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +# CPAN-Meta-Requirements was split from CPAN-Meta +Conflicts: perl-CPAN-Meta < 2.120921 +# and used to have six decimal places +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(CPAN::Meta::Requirements\\) +Provides: perl(CPAN::Meta::Requirements) = %{version}000 + +%description +A CPAN::Meta::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 CPAN-Meta-Requirements-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%check +%if %{defined perl_bootstrap} || ( 0%{?rhel} ) +rm -rf xt +%endif +make test TEST_FILES="t/*.t xt/*/*.t" + +%files +%doc Changes LICENSE perlcritic.rc README README.PATCHING +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 20 2012 Marcela Mašláňová - 2.122-6 +- Conditionalize Test::* + +* Fri Jul 20 2012 Fedora Release Engineering - 2.122-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 2.122-4 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Wed Jun 06 2012 Petr Pisar - 2.122-3 +- Perl 5.16 rebuild + +* Fri Jun 01 2012 Petr Pisar +- Skip some tests on bootstrap + +* Mon May 07 2012 Iain Arnell 2.122-1 +- update to latest upstream version + +* Tue Apr 03 2012 Iain Arnell 2.121-3 +- provide perl(CPAN::Meta::Requirements) with six decimal places + +* Mon Apr 02 2012 Iain Arnell 2.121-2 +- clean up spec following review +- run release/author tests too + +* Sun Apr 01 2012 Iain Arnell 2.121-1 +- Specfile autogenerated by cpanspec 1.79.