[perl-Net-Twitter] Update to 4.00004. Upstream changed to Module::Build instead of MakeMaker as well.

Julian C. Dunn jdunn at fedoraproject.org
Thu Mar 14 15:25:05 UTC 2013


commit 9855a4cd118b6613adcda18a01f4490b3659c9eb
Author: Julian C. Dunn <jdunn at aquezada.com>
Date:   Thu Mar 14 11:24:23 2013 -0400

    Update to 4.00004. Upstream changed to Module::Build instead of MakeMaker as well.

 .gitignore            |    1 +
 perl-Net-Twitter.spec |   22 ++++++++++------------
 sources               |    2 +-
 3 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7be322e..b9518c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /Net-Twitter-3.18003.tar.gz
 /Net-Twitter-4.00002.tar.gz
 /Net-Twitter-4.00003.tar.gz
+/Net-Twitter-4.00004.tar.gz
diff --git a/perl-Net-Twitter.spec b/perl-Net-Twitter.spec
index 406dc80..e805a3e 100644
--- a/perl-Net-Twitter.spec
+++ b/perl-Net-Twitter.spec
@@ -1,5 +1,5 @@
 Name:           perl-Net-Twitter
-Version:        4.00003
+Version:        4.00004
 Release:        1%{?dist}
 Summary:        Perl interface to the Twitter API
 License:        GPL+ or Artistic
@@ -20,7 +20,6 @@ BuildRequires:  perl(Devel::StackTrace) >= 1.21
 BuildRequires:  perl(Digest::HMAC_SHA1)
 BuildRequires:  perl(Digest::SHA)
 BuildRequires:  perl(Encode)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(HTML::Entities)
 BuildRequires:  perl(HTTP::Request::Common)
@@ -28,6 +27,7 @@ BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(JSON)
 BuildRequires:  perl(List::Util)
 BuildRequires:  perl(LWP::UserAgent) >= 5.819
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Moose) >= 0.9
 BuildRequires:  perl(Moose::Exporter)
 BuildRequires:  perl(Moose::Role)
@@ -53,27 +53,22 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 Requires:       perl(Net::Netrc)
 
 %description
-This module provides a perl interface to the Twitter APIs. See
+This module provides a Perl interface to the Twitter APIs. See
 http://dev.twitter.com/doc for a full description of the Twitter APIs.
 
 %prep
 %setup -q -n Net-Twitter-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs vendor
+./Build
 
 %install
-
-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 \;
-
+./Build install destdir=%{buildroot} create_packlist=0
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-env TEST_POD=1 make test
+./Build test
 
 %files
 %doc Changes README
@@ -81,6 +76,9 @@ env TEST_POD=1 make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Mar 13 2013 Julian C. Dunn <jdunn at aquezada.com> - 4.00004-1
+- Upgrade to 4.00004 (bz#914316)
+
 * Fri Mar 08 2013 Julian C. Dunn <jdunn at aquezada.com> - 4.00003-1
 - Upgrade to 4.00003 (bz#914316)
 
diff --git a/sources b/sources
index f679ecf..59b1ff1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-131d7f914cc37648671dd999befc2bea  Net-Twitter-4.00003.tar.gz
+9a33c6a157f3611e2ce89a4d8e990b6e  Net-Twitter-4.00004.tar.gz



More information about the perl-devel mailing list