From 57ae9cdfe0e694c516e08cb2e4d6f178ea5a4b37 Mon Sep 17 00:00:00 2001
From: "Julian C. Dunn" <jd...@aquezada.com>
Date: Sat, 7 May 2016 23:49:20 -0400
Subject: Upgrade to 3.093 (bz#1318639)

---
 .gitignore            |  1 +
 perl-WWW-Shorten.spec | 26 +++++++++++++++++---------
 sources               |  2 +-
 3 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5807b60..373d301 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /WWW-Shorten-3.05.tar.gz
 /WWW-Shorten-3.06.tar.gz
 /WWW-Shorten-3.08.tar.gz
+/WWW-Shorten-3.093.tar.gz
diff --git a/perl-WWW-Shorten.spec b/perl-WWW-Shorten.spec
index bc1299d..e945924 100644
--- a/perl-WWW-Shorten.spec
+++ b/perl-WWW-Shorten.spec
@@ -1,11 +1,11 @@
 Name:           perl-WWW-Shorten
-Version:        3.08
-Release:        2%{?dist}
+Version:        3.093
+Release:        1%{?dist}
 Summary:        Interface to URL shortening sites
 License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/WWW-Shorten/
-Source0:        
http://www.cpan.org/authors/id/D/DA/DAVECROSS/WWW-Shorten-%{version}.tar.gz
+Source0:        
http://search.cpan.org/CPAN/authors/id/C/CA/CAPOEIRAB/WWW-Shorten-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  glibc-common
 BuildRequires:  perl(base)
@@ -13,9 +13,10 @@ BuildRequires:  perl(Carp)
 BuildRequires:  perl(Config::Auto)
 BuildRequires:  perl(LWP) >= 5.75
 BuildRequires:  perl(LWP::UserAgent) >= 2.023
-BuildRequires:  perl(Module::Build) >= 0.40
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More) >= 0.47
 BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Try::Tiny) >= 0.24
 BuildRequires:  perl(URI) >= 1.27
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
@@ -28,26 +29,33 @@ TinyURL or makeashorterlink.com.
 iconv --from=ISO-8859-1 --to=UTF-8 LICENCE > LICENCE.conv && touch -r LICENCE 
LICENCE.conv && mv -f LICENCE.conv LICENCE
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test --test_files 't/0*.t'
+make test
 
 %files
-%doc Artistic AUTHORS ChangeLog.SPOON Changes CREDITS LICENCE README TODO
+%doc Changes LICENSE MANIFEST README.md
 %{perl_vendorlib}/*
 %{_bindir}/shorten
 %{_mandir}/man1/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat May 07 2016 Julian C. Dunn <jd...@aquezada.com> - 3.093-1
+- Upgrade to 3.093 (bz#1318639)
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
3.08-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 5b67987..f4af097 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-55639079e935856628fd2076f2cfecfb  WWW-Shorten-3.08.tar.gz
+44bfbdd42ed459bf1e87291202ed35cf  WWW-Shorten-3.093.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-WWW-Shorten.git/commit/?h=f24&id=57ae9cdfe0e694c516e08cb2e4d6f178ea5a4b37
--
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