From 1a1e2b616f324c0be4e702a9441d23499ddf31d5 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 27 Dec 2016 18:55:01 +0000
Subject: Update to 2.004000

- New upstream release 2.004000
  - Removed dependency: Search::Elasticsearch in favour of an internal scroller
  - Added Types class for 'isa' checks
---
 .gitignore                |  1 +
 perl-MetaCPAN-Client.spec | 20 +++++++++++++-------
 sources                   |  2 +-
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index 340523b..9d910ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /MetaCPAN-Client-[0-9.]*.tar.gz
+/MetaCPAN-Client-[0-9.]*-TRIAL.tar.gz
diff --git a/perl-MetaCPAN-Client.spec b/perl-MetaCPAN-Client.spec
index fcd024a..f2b04dc 100644
--- a/perl-MetaCPAN-Client.spec
+++ b/perl-MetaCPAN-Client.spec
@@ -3,12 +3,12 @@
 # TODO: BR: perl(HTTP::Tiny::Mech) and perl(WWW::Mechanize::Cache) when 
available
 
 Name:          perl-MetaCPAN-Client
-Version:       2.003000
+Version:       2.004000
 Release:       1%{?dist}
 Summary:       A comprehensive, DWIM-featured client to the MetaCPAN API
 License:       GPL+ or Artistic
 URL:           https://github.com/CPAN-API/metacpan-client
-Source0:       
http://cpan.metacpan.org/authors/id/M/MI/MICKEY/MetaCPAN-Client-%{version}.tar.gz
+Source0:       
http://cpan.metacpan.org/authors/id/M/MI/MICKEY/MetaCPAN-Client-%{version}-TRIAL.tar.gz
 BuildArch:     noarch
 # Build
 BuildRequires: coreutils
@@ -18,7 +18,7 @@ BuildRequires:        perl-generators
 BuildRequires: perl(ExtUtils::MakeMaker) > 7.11
 # Module
 BuildRequires: perl(Carp)
-BuildRequires: perl(Search::Elasticsearch) = 2.03
+BuildRequires: perl(Exporter)
 BuildRequires: perl(HTTP::Tiny) >= 0.056
 BuildRequires: perl(IO::Socket::SSL) >= 1.42
 BuildRequires: perl(JSON::MaybeXS)
@@ -26,9 +26,12 @@ BuildRequires:       perl(JSON::PP)
 BuildRequires: perl(Moo)
 BuildRequires: perl(Moo::Role)
 BuildRequires: perl(Net::SSLeay) >= 1.49
+BuildRequires: perl(parent)
 BuildRequires: perl(Ref::Util)
 BuildRequires: perl(Safe::Isa)
 BuildRequires: perl(strict)
+BuildRequires: perl(Type::Tiny)
+BuildRequires: perl(Types::Standard)
 BuildRequires: perl(URI::Escape)
 BuildRequires: perl(warnings)
 # Test suite
@@ -37,7 +40,6 @@ BuildRequires:        perl(File::Spec)
 %if %{with network_tests}
 BuildRequires: perl(LWP::Protocol::https)
 %endif
-BuildRequires: perl(Search::Elasticsearch::Scroll)
 BuildRequires: perl(Test::Fatal)
 BuildRequires: perl(Test::More) >= 0.88
 BuildRequires: perl(Test::Requires)
@@ -46,9 +48,6 @@ Requires:     perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; 
echo $version))
 Requires:      perl(HTTP::Tiny) >= 0.056
 Requires:      perl(IO::Socket::SSL) >= 1.42
 Requires:      perl(Net::SSLeay) >= 1.49
-# Client is incompatible with Search::Elasticsearch ≥ 5.00
-# (https://github.com/metacpan/metacpan-client/issues/48)
-Conflicts:     perl-Search-Elasticsearch >= 5.00
 
 # Filter under-specified dependency
 %global __requires_exclude ^perl\\(HTTP::Tiny\\)$
@@ -96,8 +95,15 @@ mv ./[a-z]*.t t/api/
 %{_mandir}/man3/MetaCPAN::Client::Request.3*
 %{_mandir}/man3/MetaCPAN::Client::ResultSet.3*
 %{_mandir}/man3/MetaCPAN::Client::Role::Entity.3*
+%{_mandir}/man3/MetaCPAN::Client::Scroll.3*
+%{_mandir}/man3/MetaCPAN::Client::Types.3*
 
 %changelog
+* Tue Dec 27 2016 Paul Howarth <p...@city-fan.org> - 2.004000-1
+- Update to 2.004000
+  - Removed dependency: Search::Elasticsearch in favour of an internal scroller
+  - Added Types class for 'isa' checks
+
 * Mon Dec 19 2016 Paul Howarth <p...@city-fan.org> - 2.003000-1
 - Update to 2.003000
   - Escaped query to autocomplete
diff --git a/sources b/sources
index 7088604..465e63e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MetaCPAN-Client-2.003000.tar.gz) = 
76c11f8da66bca56b2bbe0c7fa1fb98c4c3e692f8ff10536201d094d40771576238cc0dbfd431db5330115c668dc0910412c4c62223583218b9ec30a90b9ebaf
+SHA512 (MetaCPAN-Client-2.004000-TRIAL.tar.gz) = 
af3b0774f0bf612c1167437afd20136850e7c32ff950fb7ed1b230acca1e6814e8c2af0715830d53ea2494cba7138ebe83cb79e269f42bcd817cbd69dfddcb0a
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-MetaCPAN-Client.git/commit/?h=master&id=1a1e2b616f324c0be4e702a9441d23499ddf31d5
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to