From d680b56e2db428d1f98d39bf3cd052da4eff0b0a Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Fri, 29 Apr 2016 16:32:40 +0100
Subject: Update to 1.014000
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 1.014000
  - Fix warning on missing fields param
  - Switch to Search::Elasticsearch 2.0
  - You can test MetaCPAN::Client with a different domain using the
    environment variable "METACPAN_DOMAIN"
- This release by XSAWYERX → update source URL
- Simplify find command using -delete
- POD tests are now author tests rather than release tests, so drop hack for
  running them
---
 perl-MetaCPAN-Client.spec | 32 +++++++++++++++++++++-----------
 sources                   |  2 +-
 2 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/perl-MetaCPAN-Client.spec b/perl-MetaCPAN-Client.spec
index c6b3067..99ea8fe 100644
--- a/perl-MetaCPAN-Client.spec
+++ b/perl-MetaCPAN-Client.spec
@@ -3,21 +3,23 @@
 # TODO: BR: perl(HTTP::Tiny::Mech) and perl(WWW::Mechanize::Cache) when 
available
 
 Name:          perl-MetaCPAN-Client
-Version:       1.013000
-Release:       4%{?dist}
+Version:       1.014000
+Release:       1%{?dist}
 Summary:       A comprehensive, DWIM-featured client to the MetaCPAN API
 Group:         Development/Libraries
 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/X/XS/XSAWYERX/MetaCPAN-Client-%{version}.tar.gz
 BuildArch:     noarch
 # Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires: perl(Carp)
-BuildRequires: perl(Search::Elasticsearch) >= 1.10
-BuildRequires: perl(Search::Elasticsearch::Scroll)
+BuildRequires: perl(Search::Elasticsearch) >= 2.02
 BuildRequires: perl(HTTP::Tiny)
 BuildRequires: perl(JSON::MaybeXS)
 BuildRequires: perl(Moo)
@@ -28,9 +30,11 @@ BuildRequires:       perl(Try::Tiny)
 BuildRequires: perl(warnings)
 # Test suite
 BuildRequires: perl(base)
+BuildRequires: perl(blib)
 BuildRequires: perl(File::Spec)
 BuildRequires: perl(IO::Handle)
 BuildRequires: perl(IPC::Open3)
+BuildRequires: perl(Search::Elasticsearch::Scroll)
 BuildRequires: perl(Test::Fatal)
 BuildRequires: perl(Test::More) >= 0.88
 BuildRequires: perl(Test::Requires)
@@ -50,18 +54,13 @@ This is a hopefully-complete API-compliant interface to 
MetaCPAN
 %prep
 %setup -q -n MetaCPAN-Client-%{version}
 
-# Run the POD tests too; don't want to enable RELEASE_TESTING because
-# Test::Requires then makes optional tests non-optional, and we don't
-# have all of the dependencies we need to run the optional tests
-sed -i -e 's|RELEASE_TESTING|AUTHOR_TESTING|' t/release-pod-{coverage,syntax}.t
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -94,6 +93,17 @@ mv ./[a-z]*.t t/api/
 %{_mandir}/man3/MetaCPAN::Client::Role::Entity.3*
 
 %changelog
+* Fri Apr 29 2016 Paul Howarth <p...@city-fan.org> - 1.014000-1
+- Update to 1.014000
+  - Fix warning on missing fields param
+  - Switch to Search::Elasticsearch 2.0
+  - You can test MetaCPAN::Client with a different domain using the
+    environment variable "METACPAN_DOMAIN"
+- This release by XSAWYERX → update source URL
+- Simplify find command using -delete
+- POD tests are now author tests rather than release tests, so drop hack for
+  running them
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.013000-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index aa45f8e..eaef3e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1925e7582467b7b8588ae3fcb26a9390  MetaCPAN-Client-1.013000.tar.gz
+e9d2103a681ecfb193ee1900d0f09277  MetaCPAN-Client-1.014000.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-MetaCPAN-Client.git/commit/?h=perl-MetaCPAN-Client-1.014000-1.fc25&id=d680b56e2db428d1f98d39bf3cd052da4eff0b0a
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to