From 1d8cf864e8441275257c045caba8fb52cd03eb6f Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 22 Mar 2016 10:42:37 +0000
Subject: Update to 1.26

- New upstream release 1.26
  - Switched from Module::Build to ExtUtils::MakeMaker (GH#13)
---
 perl-DateTime.spec | 36 ++++++++++++++----------------------
 sources            |  2 +-
 2 files changed, 15 insertions(+), 23 deletions(-)

diff --git a/perl-DateTime.spec b/perl-DateTime.spec
index a492026..1f3306a 100644
--- a/perl-DateTime.spec
+++ b/perl-DateTime.spec
@@ -1,6 +1,6 @@
 Name:           perl-DateTime
 Epoch:          2
-Version:        1.25
+Version:        1.26
 Release:        1%{?dist}
 Summary:        Date and time object for Perl
 License:        Artistic 2.0
@@ -13,7 +13,7 @@ BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-devel
-BuildRequires:  perl(Module::Build) >= 0.28
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
@@ -33,30 +33,17 @@ BuildRequires:  perl(warnings::register)
 # Optional Run-time:
 BuildRequires:  perl(XSLoader)
 # Tests:
-# Cwd not used
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(Test::Warnings) >= 0.005
 BuildRequires:  perl(utf8)
-# Optional tests:
+# Optional Tests:
 BuildRequires:  perl(CPAN::Meta) >= 2.120900
-# circular dependency - perl(DateTime::Format::Strptime) >= 1.2000
-# Pod::Coverage::TrustPod not used
-# Pod::Wordlist not used
 BuildRequires:  perl(Storable)
-# Test::Code::TidyAll 0.24 not used
-# Test::CPAN::Changes not used
-# Test::CPAN::Meta::JSON not used
-# Test::DependentModules not used
-# Test::EOL not used
-# Test::NoTabs not used
-# Test::Pod 1.41 not used
-# Test::Pod::Coverage 1.08 not used
-# Test::Spelling 0.12 not used
-# Test::Version not used
 BuildRequires:  perl(Test::Warn)
+# Dependencies:
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(XSLoader)
 
@@ -78,20 +65,21 @@ believed to be the birth of Jesus Christ.
 %setup -q -n DateTime-%{version}
 
 %build
-perl Build.PL --installdirs=vendor --optimize="%{optflags}"
-./Build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -delete
 find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
 %license LICENSE
-%doc Changes CREDITS README.md TODO
+%doc Changes CONTRIBUTING.md CREDITS README.md TODO
 %{perl_vendorarch}/auto/DateTime/
 %{perl_vendorarch}/DateTime/
 %{perl_vendorarch}/DateTime.pm
@@ -101,6 +89,10 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_mandir}/man3/DateTime::LeapSecond.3*
 
 %changelog
+* Tue Mar 22 2016 Paul Howarth <p...@city-fan.org> - 2:1.26-1
+- Update to 1.26
+  - Switched from Module::Build to ExtUtils::MakeMaker (GH#13)
+
 * Mon Mar  7 2016 Paul Howarth <p...@city-fan.org> - 2:1.25-1
 - Update to 1.25
   - DateTime->from_object would die if given a DateTime::Infinite object; now
diff --git a/sources b/sources
index 058078e..a660b52 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3343f67ebefb3f082a0067dfaee3b3c8  DateTime-1.25.tar.gz
+44999f88e58b6e40762e49b93b3de9a0  DateTime-1.26.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-DateTime.git/commit/?h=f24&id=1d8cf864e8441275257c045caba8fb52cd03eb6f
--
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