From ede402641f4b77ed12875630d0bd45a50b6c24c7 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Sun, 14 Jun 2015 16:17:01 +0100 Subject: Update to 1.4417
- New upstream release 1.4417 - Outputs the version of backends used - Updated repo metadata and boilerplate files - Pointed issue tracker to the Perl-Toolchain-Gang Github repo - Classify buildreqs by usage - Use %license - Package CONTRIBUTING.mkdn and README files - Expand %description - Make %files list more explicit diff --git a/.gitignore b/.gitignore index 847fd02..82abd63 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Parse-CPAN-Meta-1.4414.tar.gz +/Parse-CPAN-Meta-[0-9.]*.tar.gz diff --git a/perl-Parse-CPAN-Meta.spec b/perl-Parse-CPAN-Meta.spec index 0f053bf..2988993 100644 --- a/perl-Parse-CPAN-Meta.spec +++ b/perl-Parse-CPAN-Meta.spec @@ -1,68 +1,90 @@ Name: perl-Parse-CPAN-Meta # dual-lifed module needs to match the epoch in perl.spec Epoch: 1 -Version: 1.4414 -Release: 346%{?dist} +Version: 1.4417 +Release: 1%{?dist} Summary: Parse META.yml and META.json CPAN meta-data 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 +# Module Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(warnings) +# Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(CPAN::Meta::YAML) >= 0.011 -# CPAN::Meta needs Parse::CPAN::Meta -%if 0%{!?perl_bootstrap:1} -BuildRequires: perl(CPAN::Meta) -BuildRequires: perl(CPAN::Meta::Requirements) -%endif BuildRequires: perl(Encode) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON::PP) >= 2.27200 +BuildRequires: perl(strict) +# Test Suite BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec::Functions) -BuildRequires: perl(JSON::PP) >= 2.27200 -BuildRequires: perl(List::Util) -BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(JSON) >= 2.5 BuildRequires: perl(lib) -BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.82 BuildRequires: perl(vars) -BuildRequires: perl(version) -BuildRequires: perl(warnings) - +BuildRequires: perl(YAML) +# Optional Tests +# CPAN::Meta needs Parse::CPAN::Meta +%if 0%{!?perl_bootstrap:1} +BuildRequires: perl(CPAN::Meta) >= 2.120900 +BuildRequires: perl(CPAN::Meta::Prereqs) +%endif +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(CPAN::Meta::YAML) >= 0.011 +Requires: perl(Encode) Requires: perl(JSON::PP) >= 2.27200 -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. +Parse::CPAN::Meta is a parser for META.json and META.yml files, using JSON::PP +and/or CPAN::Meta::YAML. It provides three methods: load_file, +load_json_string, and load_yaml_string. These will read and de-serialize CPAN +metafiles. + +Parse::CPAN::Meta provides a legacy API of only two functions, based on the +YAML functions of the same name. Wherever possible, identical calling semantics +are used. These may only be used with YAML sources. + +All error reporting is done with exceptions (die'ing). %prep %setup -q -n Parse-CPAN-Meta-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install DESTDIR=%{buildroot} - +make pure_install DESTDIR=%{buildroot} UNINST=0 find %{buildroot} -type f -name .packlist -exec rm -f {} \; - -%{_fixperms} %{buildroot}/* +%{_fixperms} %{buildroot} %check make test %files -%doc Changes -%{perl_vendorlib}/* -%{_mandir}/man3/* +%license LICENSE +%doc Changes CONTRIBUTING.mkdn README +%{perl_vendorlib}/Parse/ +%{_mandir}/man3/Parse::CPAN::Meta.3* %changelog +* Sun Jun 14 2015 Paul Howarth <p...@city-fan.org> - 1:1.4417-1 +- Update to 1.4417 + - Outputs the version of backends used + - Updated repo metadata and boilerplate files + - Pointed issue tracker to the Perl-Toolchain-Gang Github repo +- Classify buildreqs by usage +- Use %%license +- Package CONTRIBUTING.mkdn and README files +- Expand %%description +- Make %%files list more explicit + * Wed Jun 10 2015 Jitka Plesnikova <jples...@redhat.com> - 1:1.4414-346 - Perl 5.22 re-rebuild of bootstrapped packages diff --git a/sources b/sources index 3fc37aa..f479dc4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f83ad609767ab52e9a452243f50c71ca Parse-CPAN-Meta-1.4414.tar.gz +b4f36533cba9ec56bef6f3797b7f4d84 Parse-CPAN-Meta-1.4417.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Parse-CPAN-Meta.git/commit/?h=perl-Parse-CPAN-Meta-1.4417-1.fc23&id=ede402641f4b77ed12875630d0bd45a50b6c24c7 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel