From 40f8d28c6aa3fb06be82cb14faed4ed0fab0ccc3 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Sun, 18 Jun 2017 10:27:36 +0100 Subject: Update to 0.51 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
- New upstream release 0.51 - Switch to v1 API - Old complex query forms may stop working with new API - Stop relying on . being in @INC - Drop URI::Escape prereq - Switch from JSON to JSON::MaybeXS - Test clean-ups - This release by HAARG → update source URL - Make %files list more explicit - Drop redundant Group: tag and %{?perl_default_filter} --- perl-MetaCPAN-API.spec | 69 ++++++++++++++++++++++++++++++-------------------- sources | 2 +- 2 files changed, 43 insertions(+), 28 deletions(-) diff --git a/perl-MetaCPAN-API.spec b/perl-MetaCPAN-API.spec index c6c3696..03ec6c5 100644 --- a/perl-MetaCPAN-API.spec +++ b/perl-MetaCPAN-API.spec @@ -1,47 +1,44 @@ Name: perl-MetaCPAN-API -Version: 0.50 -Release: 7%{?dist} -Summary: Comprehensive, DWIM-featured API to MetaCPAN +Version: 0.51 +Release: 1%{?dist} +Summary: A comprehensive, DWIM-featured API to MetaCPAN License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/MetaCPAN-API/ -Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/MetaCPAN-API-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/H/HA/HAARG/MetaCPAN-API-%{version}.tar.gz BuildArch: noarch # Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl(Carp) -BuildRequires: perl(HTTP::Tiny) -BuildRequires: perl(JSON) +BuildRequires: perl(HTTP::Tiny) >= 0.014 +BuildRequires: perl(IO::Socket::SSL) +BuildRequires: perl(JSON::MaybeXS) >= 1.001000 BuildRequires: perl(Moo) >= 1.000001 BuildRequires: perl(Moo::Role) BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(strict) BuildRequires: perl(Try::Tiny) BuildRequires: perl(Types::Standard) -BuildRequires: perl(URI::Escape) +BuildRequires: perl(warnings) # Test suite -BuildRequires: perl(File::Spec) -BuildRequires: perl(IO::Handle) -BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Exporter) +BuildRequires: perl(lib) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) BuildRequires: perl(Test::RequiresInternet) BuildRequires: perl(Test::TinyMocker) -# Author/Release tests -BuildRequires: perl(Pod::Coverage::TrustPod) -BuildRequires: perl(Test::Perl::Critic) -BuildRequires: perl(Test::Pod) >= 1.41 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) - -%{?perl_default_filter} +Requires: perl(IO::Socket::SSL) %description This is a hopefully-complete API-compliant interface to MetaCPAN -(https://metacpan.org) with DWIM capabilities, to make your life easier. +(https://metacpan.org/) with DWIM capabilities, to make your life easier. However, it has been completely rewritten to address a multitude of problems, and is now available under the new official name: MetaCPAN::Client. @@ -57,23 +54,41 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check -make test AUTHOR_TESTING=1 RELEASE_TESTING=1 +make test %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif %doc Changes README %{perl_vendorlib}/MetaCPAN/ -%{_mandir}/man3/* +%{_mandir}/man3/MetaCPAN::API.3* +%{_mandir}/man3/MetaCPAN::API::Author.3* +%{_mandir}/man3/MetaCPAN::API::Autocomplete.3* +%{_mandir}/man3/MetaCPAN::API::Distribution.3* +%{_mandir}/man3/MetaCPAN::API::Favorite.3* +%{_mandir}/man3/MetaCPAN::API::File.3* +%{_mandir}/man3/MetaCPAN::API::Module.3* +%{_mandir}/man3/MetaCPAN::API::Rating.3* +%{_mandir}/man3/MetaCPAN::API::POD.3* +%{_mandir}/man3/MetaCPAN::API::Release.3* +%{_mandir}/man3/MetaCPAN::API::Source.3* %changelog +* Sun Jun 18 2017 Paul Howarth <p...@city-fan.org> - 0.51-1 +- Update to 0.51 + - Switch to v1 API + - Old complex query forms may stop working with new API + - Stop relying on . being in @INC + - Drop URI::Escape prereq + - Switch from JSON to JSON::MaybeXS + - Test clean-ups +- This release by HAARG → update source URL +- Make %%files list more explicit +- Drop redundant Group: tag and %%{?perl_default_filter} + * Tue Jun 06 2017 Jitka Plesnikova <jples...@redhat.com> - 0.50-7 - Perl 5.26 rebuild diff --git a/sources b/sources index dbd1270..1f96e9d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06967b570f5eae2ef627c3667e40a55f MetaCPAN-API-0.50.tar.gz +SHA512 (MetaCPAN-API-0.51.tar.gz) = 2bed1f46b19918dc17d1ee3ee17d1d557509c9e84617192a62fc4cef8a7c444547d373f028e52ff21eae63955be53fd018dc9bced580981bcdaf3a5f5bc046e4 -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-MetaCPAN-API.git/commit/?h=master&id=40f8d28c6aa3fb06be82cb14faed4ed0fab0ccc3 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org