commit 06b29fe434694df85dc6ad12f1f487025d01127c Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Feb 4 06:11:34 2011 +0100 update to 1.4200 - brings dual-lifed Parse::CPAN::Meta back to fedora as a separate package. - preserve changelog from previous version .gitignore | 1 + perl-Parse-CPAN-Meta.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 3 files changed, 87 insertions(+), 1 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1e7923a..5ffca43 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Parse-CPAN-Meta-1.40.tar.gz +/Parse-CPAN-Meta-1.4200.tar.gz diff --git a/perl-Parse-CPAN-Meta.spec b/perl-Parse-CPAN-Meta.spec new file mode 100644 index 0000000..223eff2 --- /dev/null +++ b/perl-Parse-CPAN-Meta.spec @@ -0,0 +1,85 @@ +Name: perl-Parse-CPAN-Meta +# dual-lifed module needs to match the epoch in perl.spec +Epoch: 1 +Version: 1.4200 +Release: 1%{?dist} +Summary: Parse META.yml and META.json CPAN metadata files +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Parse-CPAN-Meta/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(CPAN::Meta::YAML) >= 0.002 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) >= 0.80 +BuildRequires: perl(JSON::PP) >= 2.27103 +BuildRequires: perl(Module::Load::Conditional) >= 0.26 +BuildRequires: perl(Test::More) >= 0.47 +Requires: perl(CPAN::Meta::YAML) >= 0.002 +Requires: perl(JSON::PP) >= 2.27103 +Requires: perl(Module::Load::Conditional) >= 0.26 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Parse::CPAN::Meta is a parser for META.json and META.yml files, using +JSON::PP and/or CPAN::Meta::YAML. + +%prep +%setup -q -n Parse-CPAN-Meta-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%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 \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_privlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jan 28 2011 Iain Arnell <iarnell@xxxxxxxxx> 1:1.4200-1 +- Specfile autogenerated by cpanspec 1.78. +- bump epoch to match that in perl.spec +- install to privlib, not vendorlib + +* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.40-2 +- rebuild against perl 5.10.1 + +* Wed Oct 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.40-1 +- new upstream version + +* Thu Jul 30 2009 Jesse Keating <jkeating@xxxxxxxxxx> - 1.39-2 +- Bump for F12 mass rebuild + +* Sun Jun 14 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.39-1 +- auto-update to 1.39 (by cpan-spec-update 0.01) + +* Mon Apr 27 2009 Ralf CorsÃpius <corsepiu@fedoraproject> - 0.05-1 +- Upstream update. + +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.04-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jan 16 2009 Steven Pritchard <steve@xxxxxxxxx> 0.04-1 +- Update to 0.04. +- Update Source0 URL. +- Add version to Test::More dep. +- LICENSE and README went away. + +* Fri May 16 2008 Steven Pritchard <steve@xxxxxxxxx> 0.03-1 +- Specfile autogenerated by cpanspec 1.75. +- BR Test::More. diff --git a/sources b/sources index 2e61a73..1a769bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -13038b57d3f253f8851323ba9db0b1a1 Parse-CPAN-Meta-1.40.tar.gz +cff72ae9490bb7bd06c02f7e78c5e0f0 Parse-CPAN-Meta-1.4200.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel